[PATCH] D153233: clang: Add __builtin_elementwise_rint and nearbyint
Joshua Batista via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 22 10:24:23 PDT 2023
bob80905 added inline comments.
================
Comment at: clang/test/CodeGen/strictfp-elementwise-bulitins.cpp:190
+// CHECK-NEXT: entry:
+// CHECK-NEXT: [[ELT_TRUNC:%.*]] = tail call <4 x float> @llvm.canonicalize.v4f32(<4 x float> [[A]]) #[[ATTR4]]
+// CHECK-NEXT: ret <4 x float> [[ELT_TRUNC]]
----------------
I noticed a missing pattern here. Did you mean to write canonicalize instead of TRUNC?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153233/new/
https://reviews.llvm.org/D153233
More information about the cfe-commits
mailing list