wpcwzy wrote: Hi Alexey,
Done, commit 2 is dropped. I also removed the call-site marking code and the -fno-builtin handling that was only there for it, so #193881 is a single commit again: preserve the libcall, emit the mapping, keep the variant declarations in llvm.compiler.used, and stop SimplifyLibCalls from folding the call back into an intrinsic at -O2. The loops still vectorize under -ffast-math because there the math calls are already const from the libm attributes (no errno), so LAA accepts them and the mapping is used to pick the vector variant. #193884 is now only the combined call-site/declaration mapping lookup that Hunter asked for earlier, the no-builtin gates are back. I also fixed the test warning (the loop functions were declared double but had no return) and removed the extra -fno-builtin RUN line that was failing on the premerge CI. check-all and llvm-test-suite pass. Could you take a look? Thanks! https://github.com/llvm/llvm-project/pull/193881 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
