R600/SI: Move pattern to instruction definition

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2014-06-24 17:17:06 +00:00
parent 1357f0e1a7
commit 26da337208

View File

@ -1636,7 +1636,7 @@ def V_SUB_F64 : InstSI <
(outs VReg_64:$dst),
(ins VReg_64:$src0, VReg_64:$src1),
"V_SUB_F64 $dst, $src0, $src1",
[]
[(set f64:$dst, (fsub f64:$src0, f64:$src1))]
>;
} // end usesCustomInserter
@ -1693,11 +1693,6 @@ def : Pat <
$src0, $src1, $src2, $src3)
>;
def : Pat <
(f64 (fsub f64:$src0, f64:$src1)),
(V_SUB_F64 $src0, $src1)
>;
//===----------------------------------------------------------------------===//
// SMRD Patterns
//===----------------------------------------------------------------------===//