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 6df2122abecb33e57f2dd0240bd2487c8342ad98..ee498e65c71c5991903e9bd10c0ccedb7a2c8747 100644
(file)
--- a/
lib/Target/ARM64/ARM64ISelLowering.cpp
+++ b/
lib/Target/ARM64/ARM64ISelLowering.cpp
@@
-435,7
+435,11
@@
ARM64TargetLowering::ARM64TargetLowering(ARM64TargetMachine &TM)
setMinFunctionAlignment(2);
+ setDivIsWellDefined(true);
+
RequireStrictAlign = StrictAlign;
+
+ setHasExtractBitsInsn(true);
}
void ARM64TargetLowering::addTypeForNEON(EVT VT, EVT PromotedBitwiseVT) {