- Apr 17, 2010
-
-
Dan Gohman authored
use of that option with it. This eliminates an imprecise "Linux" test, and should help support old versions of gold. llvm-svn: 101560
-
Johnny Chen authored
llvm-svn: 101559
-
Chris Lattner authored
to CallGraphSCCPass's instead of passing around a std::vector<CallGraphNode*>. No functionality change, but now we have a much tidier interface. llvm-svn: 101558
-
Johnny Chen authored
case. Also, the 0xFF hex literal involved in the shift for ESize64 should be suffixed "ul" to preserve the shift result. Implemented printHex*ImmOperand() by copying from ARMAsmPrinter.cpp and added a test case for DisassembleN1RegModImmFrm()/printHex64ImmOperand(). llvm-svn: 101557
-
Douglas Gregor authored
Move Sema::PerformImplicitConversion over to where Sema::TryImplicitConversion is, for my own sanity. No functionality change llvm-svn: 101554
-
Evan Cheng authored
(i32 sext_in_reg (i32 aext (i16 x)), i16) -> (i32 sext x). No known test case until -promote-16bit is enabled. llvm-svn: 101551
-
Douglas Gregor authored
llvm-svn: 101550
-
Douglas Gregor authored
TryStaticImplicitCast (for references, class types, and everything else, respectively) into a single invocation of InitializationSequence. One of the paths (for class types) was the only client of Sema::TryInitializationByConstructor, which I have eliminated. This also simplified the interface for much of the cast-checking logic, eliminating yet more code. I've kept the representation of C++ functional casts with <> 1 arguments the same, despite the fact that I hate it. That fix will come soon. To satisfy my paranoia, I've bootstrapped + tested Clang with these changes. llvm-svn: 101549
-
- Apr 16, 2010
-
-
Chris Lattner authored
llvm-svn: 101548
-
Chris Lattner authored
llvm-svn: 101543
-
Ted Kremenek authored
and we now include the file name that declares the symbol with no linkage in the USR. USRs for such symbols are generated only in restructed cases, e.g., anonymous enum declarations, typedefs, etc. llvm-svn: 101542
-
Nuno Lopes authored
llvm-svn: 101541
-
Nuno Lopes authored
llvm-svn: 101540
-
Nuno Lopes authored
this follows from C99 6.7.8p10: if it is a union, the first named member is initialized llvm-svn: 101539
-
Chris Lattner authored
llvm-svn: 101538
-
Dan Gohman authored
SelectionDAG-specific parts of TargetLowering. llvm-svn: 101537
-
Chris Lattner authored
struct may cause it to shrink more than one byte. Before my recent changes we compiled the new test into: %0 = type { [6 x i8] } @x = global %0 { [6 x i8] undef }, align 2 ; <%0*> [#uses=0] which is obviously bogus. Now we compile it into: %0 = type <{ i32, i8, i8 }> @x = global %0 zeroinitializer, align 2 ; <%0*> [#uses=0] Where the last byte only is tail padding. llvm-svn: 101536
-
Nuno Lopes authored
merge also a few tests I had here for this feature, and FileCheck'ize one file llvm-svn: 101535
-
Dan Gohman authored
llvm-svn: 101532
-
Dan Gohman authored
llvm-svn: 101531
-
Dan Gohman authored
llvm-svn: 101530
-
Johnny Chen authored
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case. llvm-svn: 101529
-
Dan Gohman authored
llvm-svn: 101528
-
Johnny Chen authored
to the UAL syntax of LDCL<c>, instead. Add a test case for this change which also tests the removal of assert() from printAddrMode2OffsetOperand(). llvm-svn: 101527
-
Douglas Gregor authored
functional casts over to InitializationSequence, eliminating a caller of Sema::TryImplicitConversion. We also get access and ambiguity checking "for free". More cleanups to come in this routine. llvm-svn: 101526
-
Duncan Sands authored
see http://google1.osuosl.org:8011/builders/dragonegg-x86_64-linux/builds/693 Original commit text: Use a ValueMap not a std::map for the reason indicated in the comment. This was causing nondeterministic changes in inlining decisions. llvm-svn: 101525
-
Johnny Chen authored
considered legal instructions. Refs: A8.6.51 LDC, LDC2 (immediate) -- page A8-107, A8.6.58 LDR (immediate, ARM) -- page A8-121, and A8.6.194 STR (immediate, ARM) -- page A8-395. llvm-svn: 101524
-
Nick Lewycky authored
implementation today but is the right place if we want to make it faster some day. llvm-svn: 101521
-
Dan Gohman authored
llvm-svn: 101520
-
Chris Lattner authored
llvm-svn: 101516
-
Dan Gohman authored
llvm-svn: 101515
-
Dale Johannesen authored
in the comment. This was causing nondeterministic changes in inlining decisions. llvm-svn: 101503
-
Douglas Gregor authored
llvm-svn: 101502
-
Evan Cheng authored
llvm-svn: 101501
-
Evan Cheng authored
llvm-svn: 101500
-
Ted Kremenek authored
llvm-svn: 101499
-
Douglas Gregor authored
llvm-svn: 101498
-
Douglas Gregor authored
SemaOverload.cpp; no functionality change. llvm-svn: 101497
-
Douglas Gregor authored
that we aren't using ForceRValue any more? llvm-svn: 101496
-
Benjamin Kramer authored
llvm-svn: 101495
-