1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Make the implicit def instructions look like other instrs.

llvm-svn: 29174
This commit is contained in:
Chris Lattner 2006-07-18 16:33:26 +00:00
parent 4854a2a120
commit 5985b77fae
3 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ def HI48_64 : SDNodeXForm<imm, [{
// Pseudo instructions. // Pseudo instructions.
// //
def IMPLICIT_DEF_G8RC : Pseudo<(ops G8RC:$rD), "; $rD = IMPLICIT_DEF_G8RC", def IMPLICIT_DEF_G8RC : Pseudo<(ops G8RC:$rD), "; IMPLICIT_DEF_G8RC $rD",
[(set G8RC:$rD, (undef))]>; [(set G8RC:$rD, (undef))]>;
let Pattern = [(PPCmtctr G8RC:$rS)] in { let Pattern = [(PPCmtctr G8RC:$rS)] in {

View File

@ -157,7 +157,7 @@ class VX2_Int<bits<11> xo, string opc, Intrinsic IntID>
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Instruction Definitions. // Instruction Definitions.
def IMPLICIT_DEF_VRRC : Pseudo<(ops VRRC:$rD), "; $rD = IMPLICIT_DEF_VRRC", def IMPLICIT_DEF_VRRC : Pseudo<(ops VRRC:$rD), "; IMPLICIT_DEF_VRRC $rD",
[(set VRRC:$rD, (v4i32 (undef)))]>; [(set VRRC:$rD, (v4i32 (undef)))]>;
let noResults = 1 in { let noResults = 1 in {

View File

@ -262,11 +262,11 @@ def ADJCALLSTACKUP : Pseudo<(ops u16imm:$amt),
def UPDATE_VRSAVE : Pseudo<(ops GPRC:$rD, GPRC:$rS), def UPDATE_VRSAVE : Pseudo<(ops GPRC:$rD, GPRC:$rS),
"UPDATE_VRSAVE $rD, $rS", []>; "UPDATE_VRSAVE $rD, $rS", []>;
} }
def IMPLICIT_DEF_GPRC: Pseudo<(ops GPRC:$rD), "; $rD = IMPLICIT_DEF_GPRC", def IMPLICIT_DEF_GPRC: Pseudo<(ops GPRC:$rD), "; IMPLICIT_DEF_GPRC $rD",
[(set GPRC:$rD, (undef))]>; [(set GPRC:$rD, (undef))]>;
def IMPLICIT_DEF_F8 : Pseudo<(ops F8RC:$rD), "; $rD = IMPLICIT_DEF_F8", def IMPLICIT_DEF_F8 : Pseudo<(ops F8RC:$rD), "; IMPLICIT_DEF_F8 $rD",
[(set F8RC:$rD, (undef))]>; [(set F8RC:$rD, (undef))]>;
def IMPLICIT_DEF_F4 : Pseudo<(ops F4RC:$rD), "; $rD = IMPLICIT_DEF_F4", def IMPLICIT_DEF_F4 : Pseudo<(ops F4RC:$rD), "; IMPLICIT_DEF_F4 $rD",
[(set F4RC:$rD, (undef))]>; [(set F4RC:$rD, (undef))]>;
// SELECT_CC_* - Used to implement the SELECT_CC DAG operation. Expanded by the // SELECT_CC_* - Used to implement the SELECT_CC DAG operation. Expanded by the