diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-24 17:17:06 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-24 17:17:06 +0000 |
commit | 26da3372085809c3c3beff2c5feeb1997b1e7fc5 (patch) | |
tree | f059f109526ce7693278435597d518018e57c371 /lib/Target/R600 | |
parent | 1357f0e1a7455c9042d1dc48ecdf91c3ad9554ab (diff) | |
download | llvm-26da3372085809c3c3beff2c5feeb1997b1e7fc5.tar.gz llvm-26da3372085809c3c3beff2c5feeb1997b1e7fc5.tar.bz2 llvm-26da3372085809c3c3beff2c5feeb1997b1e7fc5.tar.xz |
R600/SI: Move pattern to instruction definition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r-- | lib/Target/R600/SIInstructions.td | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 6a29dbe77d..72c51a11fa 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -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 //===----------------------------------------------------------------------===// |