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:
7b5987d
)
X86 zero extends setcc results
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Apr 2005 19:41:46 +0000
(19:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Apr 2005 19:41:46 +0000
(19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21146
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index 830dcc06a027ab4aecc9346b809f3050b72809c7..322d1299499b182c0a48613192e8520f2a17f41e 100644
(file)
--- a/
lib/Target/X86/X86ISelPattern.cpp
+++ b/
lib/Target/X86/X86ISelPattern.cpp
@@
-43,6
+43,7
@@
namespace {
// X86 is wierd, it always uses i8 for shift amounts and setcc results.
setShiftAmountType(MVT::i8);
setSetCCResultType(MVT::i8);
+ setSetCCResultContents(ZeroOrOneSetCCResult);
setShiftAmountFlavor(Mask); // shl X, 32 == shl X, 0
// Set up the register classes.