projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This is one of the optimizations ported from ARM64 to AArch64 to address the performa...
[oota-llvm.git]
/
lib
/
Target
/
AArch64
/
AArch64ISelLowering.cpp
diff --git
a/lib/Target/AArch64/AArch64ISelLowering.cpp
b/lib/Target/AArch64/AArch64ISelLowering.cpp
index 1e79894472295ff11e80e923f2541d924fa40bf0..0310f1bc115eabebb50962636e363b9c179fb407 100644
(file)
--- a/
lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/
lib/Target/AArch64/AArch64ISelLowering.cpp
@@
-540,6
+540,8
@@
AArch64TargetLowering::AArch64TargetLowering(AArch64TargetMachine &TM)
setTargetDAGCombine(ISD::SIGN_EXTEND);
setTargetDAGCombine(ISD::VSELECT);
+
+ MaskAndBranchFoldingIsLegal = true;
}
EVT AArch64TargetLowering::getSetCCResultType(LLVMContext &, EVT VT) const {