projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef040dd
)
When codegen'ing vector MUL using VFMADD, *add* the 0, don't *mul* the 0.
author
Chris Lattner
<sabre@nondot.org>
Tue, 21 Mar 2006 00:51:38 +0000
(
00:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 21 Mar 2006 00:51:38 +0000
(
00:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26913
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index 0eee1488769a30853dfbb364d390ca27956eeca6..3d0a30d0a859cbb4fba56726d50ceb53cf9d486f 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.td
+++ b/
lib/Target/PowerPC/PPCInstrInfo.td
@@
-1123,7
+1123,7
@@
def : Pat<(add GPRC:$in, (PPChi tconstpool:$g, 0)),
(ADDIS GPRC:$in, tconstpool:$g)>;
def : Pat<(fmul VRRC:$vA, VRRC:$vB),
- (VMADDFP VRRC:$vA,
(V_SET0), VRRC:$vB
)>;
+ (VMADDFP VRRC:$vA,
VRRC:$vB, (V_SET0)
)>;
// Fused negative multiply subtract, alternate pattern
def : Pat<(fsub F8RC:$B, (fmul F8RC:$A, F8RC:$C)),