- Jul 08, 2010
-
-
Eli Friedman authored
involving operator precedence.) llvm-svn: 107902
-
Devang Patel authored
Patch by Alexander Kabaev. PR 7595. llvm-svn: 107900
-
Jakob Stoklund Olesen authored
This pass runs before COPY instructions are passed to copyPhysReg, so we simply translate COPY to the proper pseudo instruction. Note that copyPhysReg does not handle floating point stack copies. Once COPY is used everywhere, this can be cleaned up a bit, and most of the pseudo instructions can be removed. llvm-svn: 107899
-
Jakob Stoklund Olesen authored
llvm-svn: 107898
-
Ted Kremenek authored
llvm-svn: 107897
-
Douglas Gregor authored
a template, be sure to include the template arguments from the injected-class-name. Fixes PR7587. llvm-svn: 107895
-
Sean Callanan authored
hack. llvm-svn: 107894
-
Ted Kremenek authored
llvm-svn: 107893
-
Bob Wilson authored
This pass can go away entirely soon. llvm-svn: 107892
-
Stephen Canon authored
llvm-svn: 107891
-
Bob Wilson authored
words within the 64-bit D registers. Use VLD1/VST1 with 64-bit elements instead. llvm-svn: 107890
-
Howard Hinnant authored
llvm-svn: 107889
-
Jim Grosbach authored
llvm-svn: 107887
-
Kevin Enderby authored
llvm-svn: 107886
-
Argyrios Kyrtzidis authored
Introduce PCHReader::GetTranslationUnitDecl() and use it instead of ReadDeclRecord when initializing. ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during IdentifierInfo initialization. llvm-svn: 107885
-
Argyrios Kyrtzidis authored
llvm-svn: 107884
-
Gabor Greif authored
(by caching the result we save a potentially expensive dereference) also use typedefs to shorten type declarations llvm-svn: 107883
-
Bob Wilson authored
llvm-svn: 107882
-
Gabor Greif authored
llvm-svn: 107881
-
Jim Grosbach authored
the simplification of frame index register scavenging to not have to check for available registers directly and instead just let scavengeRegister() handle it. llvm-svn: 107880
-
Jakob Stoklund Olesen authored
EXTRACT_SUBREG no longer appears as a machine instruction. Use COPY instead. Add isCopy() checks in many places using isMoveInstr() and isExtractSubreg(). The isMoveInstr hook will be removed later. llvm-svn: 107879
-
Jakob Stoklund Olesen authored
Fix X86InstrInfo::convertToThreeAddressWithLEA to generate COPY instead of INSERT_SUBREG. llvm-svn: 107878
-
Douglas Gregor authored
ExtWarn to an Extension. Let the broken code propagate! llvm-svn: 107875
-
John McCall authored
surprised. llvm-svn: 107874
-
Argyrios Kyrtzidis authored
For TagType and TemplateSpecializationType, isDependent calculation may be invalid because some decls that the calculation is using may still be initializing. Thus, store the isDependent flag to PCH and restore directly to Type. llvm-svn: 107873
-
Argyrios Kyrtzidis authored
llvm-svn: 107872
-
Argyrios Kyrtzidis authored
llvm-svn: 107871
-
Argyrios Kyrtzidis authored
llvm-svn: 107870
-
Duncan Sands authored
causes some versions of gcc to crash when building LLVM. llvm-svn: 107869
-
Benjamin Kramer authored
llvm-svn: 107868
-
Duncan Sands authored
compiled with MSVC 2010 (PR7367). Instead use a SmallVector. llvm-svn: 107867
-
Benjamin Kramer authored
(X >s -1) ? C1 : C2 and (X <s 0) ? C2 : C1 into ((X >>s 31) & (C2 - C1)) + C1, avoiding the conditional. This optimization could be extended to take non-const C1 and C2 but we better stay conservative to avoid code size bloat for now. for int sel(int n) { return n >= 0 ? 60 : 100; } we now generate sarl $31, %edi andl $40, %edi leal 60(%rdi), %eax instead of testl %edi, %edi movl $60, %ecx movl $100, %eax cmovnsl %ecx, %eax llvm-svn: 107866
-
Chandler Carruth authored
list in a diagnostic group so it can be turned on and off. A terrifying amount of code, including large chunks of open source code, still do this so it's important to be able to suppress it when necessary. Doug, is this a reasonable compromise? I'd lean toward making it a normal extension, but I don't feel strongly as long as we can turn the warnings off. llvm-svn: 107865
-
Chandler Carruth authored
unknown attributes that we discard. Add a diagnostic group for unknown attribute warnings to allow turning these off when we don't care. Also consolidates the tests for this case. llvm-svn: 107864
-
Duncan Sands authored
llvm-svn: 107863
-
Duncan Sands authored
llvm-svn: 107862
-
Eric Christopher authored
correct the testcase for valid assembly. Needs more tests. llvm-svn: 107860
-
John McCall authored
as well. llvm-svn: 107858
-
Douglas Gregor authored
suppressing copies of objects with trivial copy constructors. llvm-svn: 107857
-
Evan Cheng authored
llvm-svn: 107856
-