Evan Cheng
|
34928ae31f
|
Hooks for predication support.
llvm-svn: 37093
|
2007-05-16 02:01:49 +00:00 |
|
Evan Cheng
|
aafca4d4a2
|
Initial commit of (very basic) if converter.
llvm-svn: 37092
|
2007-05-16 02:00:57 +00:00 |
|
Evan Cheng
|
7fe6d7cb7e
|
Add TargetInstrInfo predication hooks.
llvm-svn: 37091
|
2007-05-16 01:58:56 +00:00 |
|
Devang Patel
|
407b92f7f4
|
New test.
llvm-svn: 37090
|
2007-05-15 23:44:27 +00:00 |
|
Dale Johannesen
|
78ae2e1acb
|
Remove extra CFG edges before doing these passes; it makes them happier.
llvm-svn: 37089
|
2007-05-15 21:19:17 +00:00 |
|
Chris Lattner
|
0cccda1665
|
add PR number and testcase from the PR.
llvm-svn: 37088
|
2007-05-15 20:40:25 +00:00 |
|
Chris Lattner
|
f08978c0dc
|
new testcase
llvm-svn: 37087
|
2007-05-15 20:29:56 +00:00 |
|
Lauro Ramos Venancio
|
251ea5ab65
|
Fix an infinite recursion in GetNegatedExpression.
llvm-svn: 37086
|
2007-05-15 17:05:43 +00:00 |
|
Reid Spencer
|
3651eb9571
|
Don't put test cases into regression test suite before the bug is fixed.
llvm-svn: 37085
|
2007-05-15 15:46:41 +00:00 |
|
Duncan Sands
|
eddbb07561
|
The index into the actions table is a ULEB128 not a SLEB128.
llvm-svn: 37084
|
2007-05-15 13:54:14 +00:00 |
|
Nicolas Geoffray
|
f19428c3b1
|
Note on current implementation of ELF32/PPC ABI.
llvm-svn: 37083
|
2007-05-15 09:21:28 +00:00 |
|
Reid Spencer
|
64f3cbe56c
|
Add a test case for PR1420
llvm-svn: 37082
|
2007-05-15 06:52:15 +00:00 |
|
Chris Lattner
|
701ec7ae28
|
selects can also reach here
llvm-svn: 37081
|
2007-05-15 06:42:04 +00:00 |
|
Chris Lattner
|
272d600454
|
implement the ModuleProvider::dematerializeFunction hook
llvm-svn: 37080
|
2007-05-15 06:29:44 +00:00 |
|
Reid Spencer
|
b1ac506546
|
Un-brain-dead-ify the lowering of part set for the reverse case.
llvm-svn: 37071
|
2007-05-15 02:26:52 +00:00 |
|
Chris Lattner
|
39d713e4a5
|
Fix CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll, the other recent
patches are also needed.
llvm-svn: 37070
|
2007-05-15 01:36:44 +00:00 |
|
Chris Lattner
|
ba648e0d45
|
Fix some subtle issues handling immediate values. This fixes
test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll
llvm-svn: 37069
|
2007-05-15 01:33:58 +00:00 |
|
Chris Lattner
|
a18749e96e
|
new testcase that crashes llc
llvm-svn: 37068
|
2007-05-15 01:33:12 +00:00 |
|
Chris Lattner
|
4861b958f1
|
fix some subtle inline asm selection issues
llvm-svn: 37067
|
2007-05-15 01:31:05 +00:00 |
|
Evan Cheng
|
9f0ffdf4b3
|
Add PredicateOperand to all ARM instructions that have the condition field.
llvm-svn: 37066
|
2007-05-15 01:29:07 +00:00 |
|
Chris Lattner
|
ce20a357f1
|
fix subtle bugs in inline asm operand selection
llvm-svn: 37065
|
2007-05-15 01:28:08 +00:00 |
|
Evan Cheng
|
eea85a767e
|
Added getNumExplicitOperands and findFirstPredOperand.
llvm-svn: 37064
|
2007-05-15 01:26:09 +00:00 |
|
Evan Cheng
|
f96cf9eab6
|
Added \!con(a,b) syntax to concatnate two dag fragments.
llvm-svn: 37063
|
2007-05-15 01:23:24 +00:00 |
|
Evan Cheng
|
71c4d42bd7
|
All operands that made up of the predicate operands are maked M_PREDICATE_OPERAND.
llvm-svn: 37062
|
2007-05-15 01:21:27 +00:00 |
|
Evan Cheng
|
34ce8e7297
|
Mark all (not just the first) predicate operand M_PREDICATE_OPERAND.
llvm-svn: 37061
|
2007-05-15 01:20:36 +00:00 |
|
Evan Cheng
|
0afaeec496
|
PredicateOperand related bug fix.
llvm-svn: 37060
|
2007-05-15 01:19:51 +00:00 |
|
Chris Lattner
|
cba64c6a47
|
testcase that crashes llc
llvm-svn: 37059
|
2007-05-15 01:13:42 +00:00 |
|
Dan Gohman
|
b0fd1c9640
|
Correct a comment.
llvm-svn: 37058
|
2007-05-15 00:20:13 +00:00 |
|
Chris Lattner
|
dfc6f4a06c
|
Fix Transforms/InstCombine/2007-05-14-Crash.ll
llvm-svn: 37057
|
2007-05-15 00:16:00 +00:00 |
|
Chris Lattner
|
e76dccb73f
|
New testcase that crashes instcombine
llvm-svn: 37056
|
2007-05-15 00:15:49 +00:00 |
|
Lauro Ramos Venancio
|
c9c5da3939
|
Fix previous patch. GOTOFF can be used only when the symbol has internal
linkage or hidden visibility.
llvm-svn: 37055
|
2007-05-14 23:20:21 +00:00 |
|
Chris Lattner
|
eba1b74df3
|
implement a simple fneg optimization/propagation thing. This compiles:
CodeGen/PowerPC/fneg.ll into:
_t4:
fmul f0, f3, f4
fmadd f1, f1, f2, f0
blr
instead of:
_t4:
fneg f0, f3
fmul f0, f0, f4
fmsub f1, f1, f2, f0
blr
llvm-svn: 37054
|
2007-05-14 22:04:50 +00:00 |
|
Chris Lattner
|
a4c8056268
|
new testcase
llvm-svn: 37053
|
2007-05-14 22:04:16 +00:00 |
|
Evan Cheng
|
9645be8cf5
|
Only worry about intervening kill if there are more than one live ranges in the interval.
llvm-svn: 37052
|
2007-05-14 21:23:51 +00:00 |
|
Evan Cheng
|
bdc4c1ebc5
|
Test for PR1406.
llvm-svn: 37051
|
2007-05-14 21:12:43 +00:00 |
|
Evan Cheng
|
e9e48bcf28
|
Fix for PR1406:
v1 =
r2 = move v1
= op r2<kill>
...
r2 = move v1
= op r2<kill>
Clear the first r2 kill if v1 and r2 are joined.
llvm-svn: 37050
|
2007-05-14 21:10:05 +00:00 |
|
Evan Cheng
|
eee2e3bfab
|
New test.
llvm-svn: 37048
|
2007-05-14 20:47:21 +00:00 |
|
Evan Cheng
|
0f1466ebc1
|
Doh. .cpp -> .ll
llvm-svn: 37047
|
2007-05-14 20:43:28 +00:00 |
|
Evan Cheng
|
bb876d7323
|
When marking a register as being implicitly defined, make sure to clear its partial use info as well.
llvm-svn: 37046
|
2007-05-14 20:39:18 +00:00 |
|
Lauro Ramos Venancio
|
3ff817509f
|
Optimize PIC implementation. GOTOFF can be used when the symbol is defined
and used in the same module.
llvm-svn: 37044
|
2007-05-14 18:46:23 +00:00 |
|
Lauro Ramos Venancio
|
c6d71fb584
|
Enable aliases on arm-linux.
llvm-svn: 37042
|
2007-05-14 18:32:56 +00:00 |
|
Evan Cheng
|
f3da111f16
|
Remove duplicated line.
llvm-svn: 37040
|
2007-05-14 18:03:45 +00:00 |
|
Reid Spencer
|
11493e0bcd
|
Reverse last patch .. premature. Depends on uncommitted CBE patch.
llvm-svn: 37039
|
2007-05-14 17:58:52 +00:00 |
|
Reid Spencer
|
c8202a622f
|
Update this test to match the (corrected) output from the CBE.
llvm-svn: 37038
|
2007-05-14 17:56:39 +00:00 |
|
Reid Spencer
|
afe2314bb0
|
Give names to the final result values of the part_set computations. This
just aids in readability and debugability of the output. No functional change.
llvm-svn: 37037
|
2007-05-14 17:21:17 +00:00 |
|
Reid Spencer
|
03903c3181
|
The wrapping behavior of part_set is not desirable. Adjust the
documentation to describe the desired behavior.
llvm-svn: 37036
|
2007-05-14 16:50:20 +00:00 |
|
Reid Spencer
|
0f0310012d
|
Revise definition of part_select. The wrapping behavior is not useful so
in the reverse case the only difference is that the bits are returned in
reverse order.
llvm-svn: 37035
|
2007-05-14 16:14:57 +00:00 |
|
Dan Gohman
|
7616b6f30c
|
Correct a few comments.
llvm-svn: 37034
|
2007-05-14 14:31:17 +00:00 |
|
Dan Gohman
|
f704d8f166
|
Add passes -view-cfg and -view-cfg-only that are like -print-cfg and
-print-cfg-only except they use the ViewCFG function, which displays the
CFG rendered with graphviz with gv.
llvm-svn: 37033
|
2007-05-14 14:25:08 +00:00 |
|
Dan Gohman
|
17cd3485e1
|
Use templates for the GraphType for DefaultDOTGraphTraits' members instead
of just using void*. This allows it to be used with graph adapters like
Inverse.
llvm-svn: 37032
|
2007-05-14 14:23:27 +00:00 |
|