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:
a3f269f
)
Mark vector ctpop, cttz, and ctlz as Expand on x86.
author
Dan Gohman
<gohman@apple.com>
Fri, 12 Oct 2007 14:09:42 +0000
(14:09 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 12 Oct 2007 14:09:42 +0000
(14:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42905
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 04c8da1aef42751c7a35cfff228cffcfe48dc4ec..5a67f03460a9ac1430b06c41a98b3d9d09b4eed6 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-477,6
+477,9
@@
X86TargetLowering::X86TargetLowering(TargetMachine &TM)
setOperationAction(ISD::SDIVREM, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::UDIVREM, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::FPOW, (MVT::ValueType)VT, Expand);
+ setOperationAction(ISD::CTPOP, (MVT::ValueType)VT, Expand);
+ setOperationAction(ISD::CTTZ, (MVT::ValueType)VT, Expand);
+ setOperationAction(ISD::CTLZ, (MVT::ValueType)VT, Expand);
}
if (Subtarget->hasMMX()) {