- May 10, 2012
-
-
Preston Gurd authored
llvm-svn: 156579
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156577
-
Andrew Trick authored
llvm-svn: 156576
-
Andrew Trick authored
llvm-svn: 156575
-
Andrew Trick authored
Prioritize the instruction that comes closest to keeping pressure under the target's limit. Then prioritize instructions that avoid increasing the max pressure in the scheduled region. The max pressure heuristic is a tad aggressive. Later I'll fix it to consider the unscheduled pressure as well. WIP: This is mostly functional but untested and not likely to do much good yet. llvm-svn: 156574
-
Andrew Trick authored
llvm-svn: 156573
-
Andrew Trick authored
llvm-svn: 156572
-
Andrew Trick authored
llvm-svn: 156571
-
Sirish Pande authored
llvm-svn: 156569
-
Sirish Pande authored
llvm-svn: 156568
-
Andrew Trick authored
Added getMaxExcessUpward/DownwardPressure. They somewhat abuse the tracker by speculatively handling an instruction out of order. But it is convenient for now. In the future, we will cache each instruction's pressure contribution to make this efficient. llvm-svn: 156561
-
Andrew Trick authored
llvm-svn: 156560
-
Dan Gohman authored
llvm-svn: 156558
-
Manman Ren authored
This commit broke an external linux bot and gave a compile-time warning. llvm-svn: 156556
-
Dan Gohman authored
of recursion, to avoid excessive stack usage on deep expressions. llvm-svn: 156554
-
Nuno Lopes authored
llvm-svn: 156553
-
Manman Ren authored
This patch will optimize the following cases: sub r1, r3 | sub r1, imm cmp r3, r1 or cmp r1, r3 | cmp r1, imm bge L1 TO subs r1, r3 bge L1 or ble L1 If the branch instruction can use flag from "sub", then we can replace "sub" with "subs" and eliminate the "cmp" instruction. rdar: 10734411 llvm-svn: 156550
-
Joel Jones authored
Instruction::IsIdenticalToWhenDefined. This manifested itself when inlining two calls to the same function. The inlined function had a switch statement that returned one of a set of global variables. Without this modification, the two phi instructions that chose values from the branches of the switch instruction inlined from the callee were considered equivalent and jump-threading replaced a load for the first switch value with a phi selecting from the second switch, thereby producing incorrect code. This patch has been tested with "make check-all", "lnt runteste nt", and llvm self-hosted, and on the original program that had this problem, wireshark. <rdar://problem/11025519> llvm-svn: 156548
-
Nadav Rotem authored
llvm-svn: 156541
-
Nadav Rotem authored
llvm-svn: 156540
-
Nadav Rotem authored
Starting r155461 we are able to select patterns for vbroadcast even when the load op is used by other users. Fix PR11900. llvm-svn: 156539
-
Jim Grosbach authored
Patch by Yury Mikhaylov <yury.mikhaylov@gmail.com>. llvm-svn: 156523
-
Dan Gohman authored
end of a basic block if there's no store. llvm-svn: 156520
-
- May 09, 2012
-
-
Nuno Lopes authored
refactor code a bit to enable future changes to support run-time information add support to compute allocation sizes at run-time if penalty > 1 (e.g., malloc(x), calloc(x, y), and VLAs) llvm-svn: 156515
-
Roman Divacky authored
llvm-svn: 156494
-
Chad Rosier authored
llvm-svn: 156492
-
Bob Wilson authored
For the Family 6 switch in sys::getHostCPUName, an unrecognized model was reported as "i686". That's a really bad default since it means that new CPUs will be treated as if they can only use 32-bit code. This just looks at the cpuid extended feature flag for 64 bit support, and if that is set, it uses a default x86-64 cpu. Similar logic is already used for the Family 15 code. <rdar://problem/11314502> llvm-svn: 156486
-
Chad Rosier authored
llvm-svn: 156484
-
Chad Rosier authored
This new function provides a way to get the iOS version number from ios triples. Part of rdar://11409204 llvm-svn: 156483
-
Hans Wennborg authored
This lets you save the textual representation of the LLVM IR to a file. Before this patch it could only be printed to STDERR from llvm-c. Patch by Carlo Kok! llvm-svn: 156479
-
Nuno Lopes authored
change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum runtime performance penalty that the user is willing to accept. This commit only adds the parameter. Code taking advantage of it will follow. llvm-svn: 156473
-
Bill Wendling authored
Patch by Andrew Wilkins! llvm-svn: 156469
-
Craig Topper authored
llvm-svn: 156466
-
Akira Hatanaka authored
llvm-svn: 156460
-
Jakob Stoklund Olesen authored
The getPointerRegClass() hook will return GR32_TC, or whatever is appropriate for the current function. Patch by Yiannis Tsiouris! llvm-svn: 156459
-
Akira Hatanaka authored
allocas. llvm-svn: 156458
-
Akira Hatanaka authored
llvm-svn: 156457
-
Richard Trieu authored
llvm-svn: 156456
-
Dan Gohman authored
llvm-svn: 156445
-
Kevin Enderby authored
PR12731. Patch by Meador Inge! llvm-svn: 156444
-