[clang] [OpenMP][CodeGen] Preserve libcalls for declare simd redecls (PR #193881)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 01:58:22 PST 2026


wpcwzy wrote:

Hi all,

Just a gentle ping for review. The series is rebased on recent main, head is 932278b.

The assertion anun333 reported is fixed (the variant declarations are kept in llvm.compiler.used now), the mappings only contain ISA classes the target supports and stay within -mprefer-vector-width, and the calls inside SIMD loops are marked memory(none)+nobuiltin so they don't get folded back into llvm.sin at -O2/-O3. check-all and llvm-test-suite pass here, anun333 also tested the series against glibc 2.41's headers.

@alexey-bataev would you be able to take a look? Thanks!


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


More information about the cfe-commits mailing list