================
@@ -77,3 +77,36 @@ __m512i test_mm512_undefined_epi32(void) {
// OGCG: ret <8 x i64> zeroinitializer
return _mm512_undefined_epi32();
}
+
+__m512i test_mm512_ror_epi32(__m512i __A) {
+ // CIR-LABEL: test_mm512_ror_epi32
+ // CIR: {{%.*}} = cir.cast integral {{%.*}} : !s32i -> !u32i
----------------
andykaylor wrote:
I prefer to see the `%` character outside the RE matching to make this easily
recognized as a value identifier. Also, if you aren't capturing the return
value to use in a later match, the `%{{.*}} =` string can be omitted. I would
prefer to have the value captured and used in the match when it's relevant, as
is happening on lines 67-68 above.
https://github.com/llvm/llvm-project/pull/169566
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits