projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6659bd7
)
PowerPC zero extends setcc results
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Apr 2005 19:41:49 +0000
(19:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Apr 2005 19:41:49 +0000
(19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21147
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelPattern.cpp
b/lib/Target/PowerPC/PPCISelPattern.cpp
index ca2acc688dea1c785ed827043bf7fbdc0d507903..3c3b14e132aa343b1aa9b871b99c567dfd1a081b 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelPattern.cpp
+++ b/
lib/Target/PowerPC/PPCISelPattern.cpp
@@
-62,6
+62,7
@@
namespace {
setOperationAction(ISD::UREM, MVT::i32, Expand);
setShiftAmountFlavor(Extend); // shl X, 32 == 0
+ setSetCCResultContents(ZeroOrOneSetCCResult);
addLegalFPImmediate(+0.0); // Necessary for FSEL
addLegalFPImmediate(-0.0); //