From: Tom Stellard Date: Fri, 20 Mar 2015 15:14:23 +0000 (+0000) Subject: R600/SI: Refactor VOP2 instruction defs X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b0dab9f3f90d336eaf8f53b77ce4e0dc552b649;p=platform%2Fupstream%2Fllvm.git R600/SI: Refactor VOP2 instruction defs llvm-svn: 232817 --- diff --git a/llvm/lib/Target/R600/SIInstrInfo.td b/llvm/lib/Target/R600/SIInstrInfo.td index 5deb957..86e1082 100644 --- a/llvm/lib/Target/R600/SIInstrInfo.td +++ b/llvm/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 {