[PATCH] D30364: AArch64 : Add PreferCSEL feature for Exynos-M3.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 14:57:25 PST 2017


rengolin requested changes to this revision.
rengolin added a comment.
This revision now requires changes to proceed.

If the core doesn't support CSEL, let's mark it as unavailable. If it does, but the cost is bad (for whatever reason), this really **really** should be in the cost model...



================
Comment at: lib/Target/AArch64/AArch64InstrInfo.td:46
 
+def DontUseCSEL : Predicate<"!Subtarget->preferCSEL()">;
+
----------------
Wait, "prefer" or "don't use"? This is confusing...


https://reviews.llvm.org/D30364





More information about the llvm-commits mailing list