[llvm] [AArch64][NEON] Add famax/famin codegen patterns (PR #103027)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 05:07:42 PDT 2024
================
@@ -10155,7 +10155,19 @@ let Predicates = [HasFP8] in {
let Predicates = [HasFAMINMAX] in {
defm FAMAX : SIMDThreeSameVectorFP<0b0, 0b1, 0b011, "famax", null_frag>;
defm FAMIN : SIMDThreeSameVectorFP<0b1, 0b1, 0b011, "famin", null_frag>;
-} // End let Predicates = [HasFAMAXMIN]
+} // End let Predicates = [HasFAMINMAX]
+
+let Predicates = [HasNEON, HasFAMINMAX] in {
----------------
paulwalker-arm wrote:
You shouldn't need to break the block here but instead use the new `Predicates` definition for the instruction defs as well as your new isel patterns.
https://github.com/llvm/llvm-project/pull/103027
More information about the llvm-commits
mailing list