llvm-project
cde86c02 - [LLVM] Handle zero first-arg-index in modular-format (#199118)

Commit
1 day ago
[LLVM] Handle zero first-arg-index in modular-format (#199118) Relax modular-format attribute validation in the Verifier to allow a first-arg-index of 0 (meaning no variadic arguments, e.g. for v-family functions like vsnprintf). Guard InstCombine's optimizeModularFormat against zero index. Generated by Gemini, reviewed by dthorn
Author
Parents
Loading