[llvm] [AggressiveInstCombine] Inline strcmp/strncmp (PR #89371)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 01:22:14 PDT 2024


mstorsjo wrote:

Hmm, did you remove the message about you being unable to reproduce the issue, or is github glitching?

Anyway, I re-reproduced the issue, with clang at d70267fbae228990c47b5bdbce7aa659e8b5146e as in your case.

To simplify the reproducing and get rid of some potential variables, you can grab https://martin.st/temp/subtitles-preproc.c, compile it with `clang -O2 subtitles-preproc.c -c -o libavformat/subtitles.o` on top of your existing build, then rerun those tests with `make -j$(nproc) fate-subtitles`. Without the `-O2`, or with an older clang, the tests run successfully.

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


More information about the llvm-commits mailing list