[clang] [CIR] Upstream convert to mask builtins in CIR codegen (PR #171694)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 17 14:05:55 PST 2025


MarwanTarik wrote:

I figured out that there were some bugs in the tests. I could summarize it in the following:
- Removed @ prefix from CIR-LABEL patterns to match C++ mangled names
- Updated OGCG-LABEL patterns from @test_function to {{.*}}test_function{{.*}}( for C/C++ compatibility
- Fixed vector syntax from old !cir.vector<!cir.int<s, 1> x 32> to new !cir.vector<32 x !cir.int<u, 1>> format 

Also, I figured out that it seems there's a backend bug:  the CIR-to-LLVM lowering incorrectly rejects valid 1-bit to N-bit integer extensions in vectors. So I disabled CIR-to-LLVM RUN lines temporarily as a workaround. Pls tell me your thoughts about that

https://github.com/llvm/llvm-project/pull/171694


More information about the cfe-commits mailing list