From: Tom Stellard Date: Fri, 20 Mar 2015 15:14:23 +0000 (+0000) Subject: R600/SI: Refactor VOP2 instruction defs X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=18e8ab1112d3e674913d7f0ab16b2145270584e7;p=oota-llvm.git R600/SI: Refactor VOP2 instruction defs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232817 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/SIInstrInfo.td b/lib/Target/R600/SIInstrInfo.td index 5deb95719f3..86e10826cf2 100644 --- a/lib/Target/R600/SIInstrInfo.td +++ b/lib/Target/R600/SIInstrInfo.td @@ -877,13 +877,20 @@ class VOP2_Pseudo pattern, string opName> : let isCodeGenOnly = 1; } +class VOP2_Real_si : + VOP2 , + SIMCInstr ; + +class VOP2_Real_vi : + VOP2 , + SIMCInstr ; + multiclass VOP2SI_m pattern, string opName, string revOp> { def "" : VOP2_Pseudo , VOP2_REV; - def _si : VOP2 , - SIMCInstr ; + def _si : VOP2_Real_si ; } multiclass VOP2_m pattern, @@ -891,10 +898,10 @@ multiclass VOP2_m pattern, def "" : VOP2_Pseudo , VOP2_REV; - def _si : VOP2 , - SIMCInstr ; - def _vi : VOP2 , - SIMCInstr ; + def _si : VOP2_Real_si ; + + def _vi : VOP2_Real_vi ; + } class VOP3DisableFields {