[llvm] r349918 - [AArch64] Refactor Exynos predicate (NFC)
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 07:51:34 PST 2018
Author: evandro
Date: Fri Dec 21 07:51:34 2018
New Revision: 349918
URL: http://llvm.org/viewvc/llvm-project?rev=349918&view=rev
Log:
[AArch64] Refactor Exynos predicate (NFC)
Change order of conditions in predicate.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64SchedPredExynos.td
Modified: llvm/trunk/lib/Target/AArch64/AArch64SchedPredExynos.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64SchedPredExynos.td?rev=349918&r1=349917&r2=349918&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64SchedPredExynos.td (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64SchedPredExynos.td Fri Dec 21 07:51:34 2018
@@ -126,14 +126,13 @@ def ExynosShiftExFn : TIIPredicate<
IsArithLogicShiftOp.ValidOpcodes,
MCReturnStatement<
CheckAny<
- [CheckAll<
+ [ExynosCheckShift,
+ CheckAll<
[CheckShiftLSL,
- CheckShiftBy8]>,
- ExynosCheckShift]>>>],
+ CheckShiftBy8]>]>>>],
MCReturnStatement<FalsePred>>>;
def ExynosShiftExPred : MCSchedPredicate<ExynosShiftExFn>;
-
// Identify arithmetic and logic immediate instructions.
def ExynosCheapFn : TIIPredicate<
"isExynosCheapAsMove",
More information about the llvm-commits
mailing list