summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrAltivec.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-20 19:01:30 +0000
committerChris Lattner <sabre@nondot.org>2006-04-20 19:01:30 +0000
commitba2194ae84b04b37120b189e2e23eac3daa3b0a0 (patch)
tree1a29228f86dcf752f23992737add216aa595dd6b /lib/Target/PowerPC/PPCInstrAltivec.td
parent879acefed5e710764eef6018d843107a8092dfd0 (diff)
downloadllvm-ba2194ae84b04b37120b189e2e23eac3daa3b0a0.tar.gz
llvm-ba2194ae84b04b37120b189e2e23eac3daa3b0a0.tar.bz2
llvm-ba2194ae84b04b37120b189e2e23eac3daa3b0a0.tar.xz
Fix the CodeGen/PowerPC/buildvec_canonicalize.ll regression last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrAltivec.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrAltivec.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrAltivec.td b/lib/Target/PowerPC/PPCInstrAltivec.td
index 1e9ea47385..bdb9642bd1 100644
--- a/lib/Target/PowerPC/PPCInstrAltivec.td
+++ b/lib/Target/PowerPC/PPCInstrAltivec.td
@@ -603,7 +603,7 @@ def : Pat<(v4i32 (and VRRC:$A, (vnot_conv VRRC:$B))),
(v4i32 (VANDC VRRC:$A, VRRC:$B))>;
def : Pat<(fmul VRRC:$vA, VRRC:$vB),
- (v4f32 (VMADDFP VRRC:$vA, VRRC:$vB, (v4f32 (V_SET0))))>;
+ (v4f32 (VMADDFP VRRC:$vA, VRRC:$vB, (v4i32 (V_SET0))))>;
// Fused multiply add and multiply sub for packed float. These are represented
// separately from the real instructions above, for operations that must have