PPC ISEL is a select and never has side effects

llvm-svn: 178960
This commit is contained in:
Hal Finkel 2013-04-06 19:30:28 +00:00
parent 537ec71775
commit 8fc33e5d95
2 changed files with 2 additions and 0 deletions

View File

@ -515,6 +515,7 @@ def RLWINM8 : MForm_2<21,
"rlwinm $rA, $rS, $SH, $MB, $ME", IntGeneral,
[]>;
let isSelect = 1, neverHasSideEffects = 1 in
def ISEL8 : AForm_4<31, 15,
(outs G8RC:$rT), (ins G8RC_NOX0:$rA, G8RC:$rB, CRBITRC:$cond),
"isel $rT, $rA, $rB, $cond", IntGeneral,

View File

@ -1546,6 +1546,7 @@ let Uses = [RM] in {
}
let PPC970_Unit = 1 in { // FXU Operations.
let isSelect = 1, neverHasSideEffects = 1 in
def ISEL : AForm_4<31, 15,
(outs GPRC:$rT), (ins GPRC_NOR0:$rA, GPRC:$rB, CRBITRC:$cond),
"isel $rT, $rA, $rB, $cond", IntGeneral,