- Oct 13, 2011
-
-
Nick Lewycky authored
have the same address as the one we deleted, and we don't want that in the set yet. Noticed by inspection. llvm-svn: 141849
-
Nick Lewycky authored
llvm-svn: 141844
-
Nick Lewycky authored
llvm-svn: 141842
-
Michael J. Spencer authored
llvm-svn: 141840
-
Jakob Stoklund Olesen authored
Now that MI->getRegClassConstraint() can also handle inline assembly, don't bail when recomputing the register class of a virtual register used by inline asm. This fixes PR11078. llvm-svn: 141836
-
Jakob Stoklund Olesen authored
Most instructions have some requirements for their register operands. Usually, this is expressed as register class constraints in the MCInstrDesc, but for inline assembly the constraints are encoded in the flag words. llvm-svn: 141835
-
Jakob Stoklund Olesen authored
llvm-svn: 141834
-
Jakob Stoklund Olesen authored
The inline asm operand constraint is initially encoded in the virtual register for the operand, but that register class may change during coalescing, and the original constraint is lost. Encode the original register class as part of the flag word for each inline asm operand. This makes it possible to recover the actual constraint required by inline asm, just like we can for normal instructions. llvm-svn: 141833
-
Eli Friedman authored
llvm-svn: 141831
-
Bill Wendling authored
our current machine instruction defines a register with the same register class as what's being replaced. This showed up in the SPEC 403.gcc benchmark, where it would ICE because a tail call was expecting one register class but was given another. (The machine instruction verifier catches this situation.) <rdar://problem/10270968> llvm-svn: 141830
-
Eli Friedman authored
Use a utility from MathExtras to clarify a check and avoid undefined behavior. Based on patch by Ahmed Charles. llvm-svn: 141829
-
Owen Anderson authored
The VMAs stored in the symbol table of a MachO file are absolute addresses, not offsets from the section. llvm-svn: 141828
-
Eli Friedman authored
Use unsigned multiply to hash integers, so we don't end up with undefined behavior for large signed integers. Based on patch by Ahmed Charles. llvm-svn: 141827
-
Lang Hames authored
Removed colons from some target datalayout strings in test, since they don't match the required format. llvm-svn: 141825
-
Owen Anderson authored
llvm-svn: 141824
-
Owen Anderson authored
sectionContainsSymbol needs to be based on VMA's rather than section indices to properly account for files with segment load commands that contain no sections. llvm-svn: 141822
-
Eli Friedman authored
Fix a couple hash functions so that they do not depend on undefined shifts. Based on patch by Ahmed Charles. llvm-svn: 141820
-
- Oct 12, 2011
-
-
Jim Grosbach authored
The disassembler needs to use the AM5 factory methods instead of just building up the immediate directly. llvm-svn: 141819
-
Eli Friedman authored
Fix APFloat::getSmallestNormalized so the shift doesn't depend on undefined behavior. Patch from Ahmed Charles. llvm-svn: 141818
-
Eli Friedman authored
Fix APFloat::getLargest so that it actually returns the correct value. Found by accident while reviewing a patch to nearby code. llvm-svn: 141816
-
Owen Anderson authored
llvm-svn: 141815
-
Kevin Enderby authored
for cpp pre-processed assembly we give correct filename and line numbers when reporting errors in assembly files when using clang and -integrated-as on .s files. rdar://8998895 llvm-svn: 141814
-
Evan Cheng authored
Disable machine LICM speculation check (for profitability) until I have time to investigate the regressions. llvm-svn: 141813
-
Cameron Zwarich authored
rather than the previous index. If a block has a single instruction, the previous index may be in a different basic block. I have no clue how this used to work on all of test-suite, because now this failure is seen quite often when trying to compile code with -strong-phi-elim. This fixes PR10252. llvm-svn: 141812
-
Jim Grosbach authored
llvm-svn: 141811
-
Nick Lewycky authored
llvm-svn: 141807
-
Jim Grosbach authored
llvm-svn: 141794
-
Jim Grosbach authored
llvm-svn: 141787
-
Jim Grosbach authored
llvm-svn: 141786
-
Jim Grosbach authored
llvm-svn: 141781
-
Jim Grosbach authored
llvm-svn: 141780
-
Dan Gohman authored
intended, but only by accident. llvm-svn: 141779
-
NAKAMURA Takumi authored
lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s not to fail (on msvc). DenseMap::lookup(k) would return "default constructor value" when k was not met. It would be useless when value type were POD. llvm-svn: 141774
-
Bill Wendling authored
containing loop's header to see if that's a landing pad. If it is, then we don't want to hoist instructions out of the loop and above the header. llvm-svn: 141767
-
Jakob Stoklund Olesen authored
llvm-svn: 141763
-
Akira Hatanaka authored
llvm-svn: 141761
-
Akira Hatanaka authored
Remove unused classes. llvm-svn: 141757
-
Eric Christopher authored
llvm-svn: 141752
-
Nick Lewycky authored
llvm-svn: 141750
-
Nick Lewycky authored
llvm-svn: 141749
-