projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM64: Combine shifts and uses from different basic block to bit-extract instruction
[oota-llvm.git]
/
lib
/
Target
/
ARM64
/
ARM64ISelLowering.cpp
diff --git
a/lib/Target/ARM64/ARM64ISelLowering.cpp
b/lib/Target/ARM64/ARM64ISelLowering.cpp
index 7fee5646d1ce997e07a4038d3653084a9ef04264..ee498e65c71c5991903e9bd10c0ccedb7a2c8747 100644
(file)
--- a/
lib/Target/ARM64/ARM64ISelLowering.cpp
+++ b/
lib/Target/ARM64/ARM64ISelLowering.cpp
@@
-438,6
+438,8
@@
ARM64TargetLowering::ARM64TargetLowering(ARM64TargetMachine &TM)
setDivIsWellDefined(true);
RequireStrictAlign = StrictAlign;
+
+ setHasExtractBitsInsn(true);
}
void ARM64TargetLowering::addTypeForNEON(EVT VT, EVT PromotedBitwiseVT) {