- Oct 13, 2011
-
-
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
-
Evan Cheng authored
1. The speculation check may not have been performed if the BB hasn't had a load LICM candidate. 2. If the candidate would be CSE'ed, then go ahead and speculatively LICM the instruction even if it's in high register pressure situation. llvm-svn: 141747
-
Jakob Stoklund Olesen authored
When widening a copy, we are reading a larger register that may not be live. Use an <undef> flag to tell the register scavenger and machine code verifier that we know the value isn't defined. We now widen: %S6<def> = COPY %S4<kill>, %D3<imp-def> into: %D3<def> = VMOVD %D2<undef>, pred:14, pred:%noreg, %S4<imp-use,kill> This also keeps the <kill> flag on %S4 so we don't inadvertently kill a live value in %S5. Finally, ensure that ARMBaseInstrInfo::setExecutionDomain() preserves the <undef> flag when converting VMOVD to VORR. llvm-svn: 141746
-
Evan Cheng authored
Also teach MachineLICM to avoid "speculation" when register pressure is high. llvm-svn: 141744
-
Akira Hatanaka authored
llvm-svn: 141743
-
Akira Hatanaka authored
instructions with two register operands derive from it. llvm-svn: 141742
-
Bob Wilson authored
llvm-svn: 141741
-
Eric Christopher authored
llvm-svn: 141739
-
Akira Hatanaka authored
llvm-svn: 141737
-