- Nov 10, 2010
-
-
Rafael Espindola authored
llvm-svn: 118725
-
Dan Gohman authored
for a given instruction into a helper function. llvm-svn: 118723
-
Rafael Espindola authored
llvm-svn: 118722
-
Dan Gohman authored
type is insufficient for, or incompatible with, the current query. llvm-svn: 118721
-
Nate Begeman authored
llvm-svn: 118720
-
Duncan Sands authored
Probably it should just be 1, but compromise with 3. llvm-svn: 118718
-
Dan Gohman authored
references. For example, this allows gvn to eliminate the load in this example: void foo(int n, int* p, int *q) { p[0] = 0; p[1] = 1; if (n) { *q = p[0]; } } llvm-svn: 118714
-
Rafael Espindola authored
llvm-svn: 118709
-
Jakob Stoklund Olesen authored
Whenever splitting wants to insert a copy, it checks if the value can be rematerialized cheaply instead. Missing features: - Delete instructions when all uses have been rematerialized. - Truncate live ranges to the remaining uses after rematerialization. llvm-svn: 118702
-
Andrew Trick authored
benchmarks hitting an assertion. Adds LiveIntervalUnion::collectInterferingVRegs. Fixes "late spilling" by checking for any unspillable live vregs among all physReg aliases. llvm-svn: 118701
-
Rafael Espindola authored
llvm-svn: 118699
-
Dan Gohman authored
instructions instead of hard-coding operand numbers. llvm-svn: 118698
-
Dan Gohman authored
their comments. llvm-svn: 118696
-
Duncan Sands authored
nodes can be used in loops, this could result in infinite looping if there is no recursion limit, so add such a limit. It is also used for the SelectInst case because in theory there could be an infinite loop there too if the basic block is unreachable. llvm-svn: 118694
-
Dan Gohman authored
llvm-svn: 118693
-
Dan Gohman authored
it, and to be consistent. llvm-svn: 118692
-
Jim Grosbach authored
double quoting of ObjC symbol names in constant pool entries. rdar://8652107 llvm-svn: 118688
-
Dan Gohman authored
arbitrary memory into a helper function, and adjust some comments. llvm-svn: 118687
-
Dan Gohman authored
indivudal members holding the same data, to clarify the relationship between NonLocalDepResult and NonLocalDepEntry. llvm-svn: 118686
-
Tobias Grosser authored
Store the flags needed to disable optimizations and to emit LLVM-IR depending on the version of llvm-gcc used. llvm-svn: 118684
-
Michael J. Spencer authored
llvm-svn: 118683
-
Michael J. Spencer authored
llvm-svn: 118682
-
Michael J. Spencer authored
llvm-svn: 118681
-
Duncan Sands authored
The simplifications performed here never create new instructions, they only return existing instructions (or a constant), and so are always a win. In theory they should transform (for example) %z = and i32 %x, %y %s = select i1 %cond, i32 %y, i32 %z %r = and i32 %x, %s into %r = and i32 %x, y but in practice they get into a fight with instcombine, and lose. Unfortunately instcombine does a poor job in this case. Nonetheless I'm committing this transform to make it easier to discuss what to do to make peace with instcombine. llvm-svn: 118679
-
NAKAMURA Takumi authored
Win32/Process.inc: [PR8527] Process::FileDescriptorIsDisplayed(fd) should not check by FILE_TYPE_CHAR. It must be better to check it with Console API. The special file "NUL" is FILE_TYPE_CHAR with GetFileType(h). It was treated as display device and discarding output to NUL had failed. (eg. opt -o nul) llvm-svn: 118678
-
Duncan Sands authored
of InputData. llvm-svn: 118677
-
Jim Grosbach authored
VariantKind marker to indicate the additional information necessary. Update MC to handle the new Kinds. rdar://8647623 llvm-svn: 118671
-
Bruno Cardoso Lopes authored
llvm-svn: 118668
-
Bruno Cardoso Lopes authored
llvm-svn: 118667
-
Dale Johannesen authored
order to reduce ((x<<30)>>24) to x<<6, check the correct bits. PR 8547. llvm-svn: 118665
-
Bill Wendling authored
llvm-svn: 118662
-
Jakob Stoklund Olesen authored
llvm-svn: 118661
-
Dan Gohman authored
chaining and simplify FunctionAttrs' GetModRefBehavior logic. llvm-svn: 118660
-
Matt Beaumont-Gay authored
llvm-svn: 118656
-
Bill Wendling authored
llvm-svn: 118653
-
Dale Johannesen authored
llvm-svn: 118652
-
Rafael Espindola authored
earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651
-
Bill Wendling authored
llvm-svn: 118648
-
- Nov 09, 2010
-
-
Rafael Espindola authored
llvm-svn: 118645
-
Bill Wendling authored
llvm-svn: 118644
-