[llvm] [InstCombine] Retain debug information on store to null instruction (PR #86105)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 09:16:17 PDT 2024


felipepiovezan wrote:

> @dwblaikie @dtcxzyw Can you please review the attached test case and let me know?

I had a look at the test case, but it's still pretty big, with lots of metadata, and the single check statement seems like it could match against something else. My suggestion: try reducing the test case using [llvm-reduce](https://llvm.org/docs/CommandGuide/llvm-reduce.html): you can write a script that uses the compiler without the fix and checks if the bug is still there on every reduction/

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


More information about the llvm-commits mailing list