#
143f7eb4 |
| 21-Jan-2010 |
Jim Grosbach <grosbach@apple.com> |
back this out for now. Growing Function is not good.
llvm-svn: 94097
|
#
e029a6a5 |
| 21-Jan-2010 |
Jim Grosbach <grosbach@apple.com> |
Make sure that landing pad entries in the EH call site table are in the proper order for SjLj style exception handling.
llvm-svn: 94055
|
#
dd6ddd1a |
| 16-Jan-2010 |
Kenneth Uildriks <kennethuil@gmail.com> |
When checking for sret-demotion, it needs to use legal types. When using the return value of an sret-demoted call, it needs to use possibly illegal types that match the declared Type of the callee.
When checking for sret-demotion, it needs to use legal types. When using the return value of an sret-demoted call, it needs to use possibly illegal types that match the declared Type of the callee.
llvm-svn: 93667
show more ...
|
#
ccce8bae |
| 05-Jan-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer.
llvm-svn: 92726
|
#
33f80d23 |
| 05-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Delete renaming use of dead dbg intrinsics.
Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start
llvm-svn: 92672
|
#
5730f203 |
| 05-Jan-2010 |
David Greene <greened@obbligato.org> |
Change errs() to dbgs().
llvm-svn: 92577
|
#
feeced41 |
| 04-Jan-2010 |
Dan Gohman <gohman@apple.com> |
Use a pointer type rather than MVT::Other for the ExternalSymbol node used in an inline asm.
llvm-svn: 92512
|
#
1eea3b0a |
| 02-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Teach codegen to handle: (X != null) | (Y != null) --> (X|Y) != 0 (X == null) & (Y == null) --> (X|Y) == 0
so that instcombine can stop doing this for pointers. This is part of PR3351, which is a
Teach codegen to handle: (X != null) | (Y != null) --> (X|Y) != 0 (X == null) & (Y == null) --> (X|Y) == 0
so that instcombine can stop doing this for pointers. This is part of PR3351, which is a case where instcombine doing this for pointers (inserting ptrtoint) is pessimizing code.
llvm-svn: 92406
show more ...
|
#
5c35d2f6 |
| 01-Jan-2010 |
Mikhail Glushenkov <foldr@codedgers.com> |
Fix a warning on gcc 4.4.
SelectionDAGBuilder.cpp:4294: warning: suggest explicit braces to avoid ambiguous ‘else’
llvm-svn: 92395
|
#
2abe1b70 |
| 01-Jan-2010 |
Mikhail Glushenkov <foldr@codedgers.com> |
Trailing whitespace, 80-col violations.
llvm-svn: 92394
|
#
39f18e54 |
| 01-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Teach codegen to lower llvm.powi to an efficient (but not optimal) multiply sequence when the power is a constant integer. Before, our codegen for std::pow(.., int) always turned into a libcall, wh
Teach codegen to lower llvm.powi to an efficient (but not optimal) multiply sequence when the power is a constant integer. Before, our codegen for std::pow(.., int) always turned into a libcall, which was really inefficient.
This should also make many gfortran programs happier I'd imagine.
llvm-svn: 92388
show more ...
|
#
8e805be3 |
| 29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
remove a bunch of unneeded functions.
llvm-svn: 92263
|
#
2f2aa2b0 |
| 28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
This is a major cleanup of the instruction metadata interfaces that I asked Devang to do back on Sep 27. Instead of going through the MetadataContext class with methods like getMD() and getMDs(), ju
This is a major cleanup of the instruction metadata interfaces that I asked Devang to do back on Sep 27. Instead of going through the MetadataContext class with methods like getMD() and getMDs(), just ask the instruction directly for its metadata with getMetadata() and getAllMetadata().
This includes a variety of other fixes and improvements: previously all Value*'s were bloated because the HasMetadata bit was thrown into value, adding a 9th bit to a byte. Now this is properly sunk down to the Instruction class (the only place where it makes sense) and it will be folded away somewhere soon.
This also fixes some confusion in getMDs and its clients about whether the returned list is indexed by the MDID or densely packed. This is now returned sorted and densely packed and the comments make this clear.
This introduces a number of fixme's which I'll follow up on.
llvm-svn: 92235
show more ...
|
#
7093946a |
| 28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
rename getMDKind -> getMDKindID, make it autoinsert if an MD Kind doesn't exist already, eliminate registerMDKind. Tidy up a bunch of random stuff.
llvm-svn: 92225
|
#
f5e3ed64 |
| 24-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a compare. On other targets we end up with a call to memcmp because we don't want 16 individual byte loads. We should be ab
handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a compare. On other targets we end up with a call to memcmp because we don't want 16 individual byte loads. We should be able to use movups as well, but we're failing to select the generated icmp.
llvm-svn: 92107
show more ...
|
#
1a32ede6 |
| 24-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
move an optimization for memcmp out of simplifylibcalls and into SDISel. This optimization was causing simplifylibcalls to introduce type-unsafe nastiness. This is the first step, I'll be expand
move an optimization for memcmp out of simplifylibcalls and into SDISel. This optimization was causing simplifylibcalls to introduce type-unsafe nastiness. This is the first step, I'll be expanding the memcmp optimizations shortly, covering things that we really really wouldn't want simplifylibcalls to do.
llvm-svn: 92098
show more ...
|
#
a864a671 |
| 23-Dec-2009 |
Dale Johannesen <dalej@apple.com> |
Use more sensible type for flags in asms. PR 5570. Patch by Sylve`re Teissier (sorry, ASCII only).
llvm-svn: 91988
|
#
fdb33458 |
| 23-Dec-2009 |
Eric Christopher <echristo@apple.com> |
Update objectsize intrinsic and associated dependencies. Fix lowering code and update testcases.
llvm-svn: 91979
|
#
0602f39b |
| 23-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Remove superfluous SDNode ordering.
llvm-svn: 91971
|
#
9df5c6df |
| 23-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Remove node ordering from inline asm nodes. It's not needed.
llvm-svn: 91961
|
#
91313064 |
| 23-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Remove node ordering from VA nodes. It's not needed.
llvm-svn: 91958
|
#
70794596 |
| 22-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Assign ordering to SDNodes in PromoteNode. Also fixing a subtle bug where BSWAP was using "Tmp1" in the first getNode call instead of Node->getOperand(0).
llvm-svn: 91936
|
#
d8549813 |
| 22-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Allow 0 as an order number. Don't assign an order to formal arguments.
llvm-svn: 91920
|
#
bac37abe |
| 22-Dec-2009 |
Bob Wilson <bob.wilson@apple.com> |
Report an error for bad inline assembly, where the value passed for an "indirect" operand is not a pointer.
llvm-svn: 91913
|
#
919b7aab |
| 22-Dec-2009 |
Bill Wendling <isanbard@gmail.com> |
Add more plumbing. This time in the LowerArguments and "get" functions which return partial registers. This affected the back-end lowering code some.
Also patch up some places I missed before in the
Add more plumbing. This time in the LowerArguments and "get" functions which return partial registers. This affected the back-end lowering code some.
Also patch up some places I missed before in the "get" functions.
llvm-svn: 91880
show more ...
|