- Mar 08, 2013
-
-
Jakob Stoklund Olesen authored
To find the last use of a register unit, start from the bottom and scan upwards until a user is found. <rdar://problem/13353090> llvm-svn: 176706
-
Jakob Stoklund Olesen authored
No test case, spotted by inspection. llvm-svn: 176705
-
Benjamin Kramer authored
llvm-svn: 176703
-
Benjamin Kramer authored
llvm-svn: 176702
-
Benjamin Kramer authored
Fixes PR15344. llvm-svn: 176701
-
Tom Stellard authored
fold selectcc (selectcc x, y, a, b, cc), b, a, b, setne -> selectcc x, y, a, b, cc Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176700
-
Tom Stellard authored
Two changes: 1. Prefer SET* instructions when possible 2. Handle the CND*_INT case with floating-point args Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176699
-
Tom Stellard authored
Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176698
-
Tom Stellard authored
Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176697
-
Tom Stellard authored
Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176696
-
Tom Stellard authored
llvm-svn: 176695
-
Tom Stellard authored
LegalizeDAG.cpp uses the value of the comparison operands when checking the legality of BR_CC, so DAGCombiner should do the same. v2: - Expand more BR_CC value types for NVPTX v3: - Expand correct BR_CC value types for Hexagon, Mips, and XCore. llvm-svn: 176694
-
Vincent Lejeune authored
AddressSpace definition has changed in a previous commit, reflect it to avoid false failure. llvm-svn: 176693
-
Tim Northover authored
llvm-svn: 176692
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176691
-
Jyotsna Verma authored
llvm-svn: 176689
-
Tim Northover authored
Patch based on Mans Rullgard's. llvm-svn: 176688
-
Michel Danzer authored
This is certainly not the last word on scheduling for this target, but right now this allows a few apps to run / finish with radeonsi, most notably UT2004 / Lightsmark. They fail to compile some shaders with the default scheduler because it ends up trying to spill registers, which we don't support yet (and which is probably a bad idea in general for performance if it can be avoided). NOTE: This is a candidate for the Mesa stable branch. Reviewed-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176687
-
Andrew Trick authored
This verifies live intervals both before and after scheduling. It's useful for anyone hacking on live interval update. Note that we don't yet pass verification all the time. We don't yet handle updating nonallocatable live intervals perfectly. llvm-svn: 176685
-
David Blaikie authored
llvm-svn: 176679
-
David Blaikie authored
Not sure why these aren't failing on my linux machine, but this should cover it. llvm-svn: 176678
-
Bill Wendling authored
Code generation makes some basic assumptions about the IR it's been given. In particular, if there is only one 'invoke' in the function, then that invoke won't be going away. However, with the advent of the `llvm.donothing' intrinsic, those invokes may go away. If all of them go away, the landing pad no longer has any users. This confuses the back-end, which asserts. This happens with SjLj exceptions, because that's the model that modifies the IR based on there being invokes, etc. in the function. Remove any invokes of `llvm.donothing' during SjLj EH preparation. This will give us a CFG that the back-end won't be confused about. If all of the invokes in a function are removed, then the SjLj EH prepare pass won't insert the bogus code the relies upon the invokes being there. <rdar://problem/13228754&13316637> llvm-svn: 176677
-
Chris Lattner authored
GCC was the system compiler on the mac. llvm-svn: 176675
-
David Blaikie authored
Mostly this is just changing the named metadata (llvm.dbg.sp, llvm.dbg.gv, llvm.dbg.<func>.lv, etc -> llvm.dbg.cu), adding a few fields to older records (DIVariable: flags/inlined-at, DICompileUnit: sp/gv/types, DISubprogram: local variables list) The tests to update were discovered by a change I'm working on to remove debug info version support - so any tests using old debug info versions I haven't updated probably are bad tests or just not actually designed to test debug info. llvm-svn: 176671
-
Jakob Stoklund Olesen authored
llvm-svn: 176669
-
Jakob Stoklund Olesen authored
In very rare cases caused by irreducible control flow, the dominating block can have the same trace head without actually being part of the trace. As long as such a dominator still has valid instruction depths, it is OK to use it for computing instruction depths. Rename the function to avoid lying, and add a check that instruction depths are computed for the dominator. llvm-svn: 176668
-
- Mar 07, 2013
-
-
Jakub Staszak authored
llvm-svn: 176661
-
Jakub Staszak authored
llvm-svn: 176660
-
Chad Rosier authored
rdar://13370942 llvm-svn: 176659
-
Benjamin Kramer authored
llvm-svn: 176652
-
Benjamin Kramer authored
llvm-svn: 176651
-
Chad Rosier authored
rdar://13370942 llvm-svn: 176649
-
Benjamin Kramer authored
llvm-svn: 176648
-
Jyotsna Verma authored
llvm-svn: 176647
-
Jakub Staszak authored
llvm-svn: 176646
-
Jakub Staszak authored
llvm-svn: 176645
-
Jakub Staszak authored
llvm-svn: 176643
-
Jakub Staszak authored
llvm-svn: 176642
-
Jakub Staszak authored
coding in the other places of the file. llvm-svn: 176641
-
Andrew Trick authored
llvm-svn: 176638
-