[llvm] [GlobalIsel] Improve poison analysis (PR #93731)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 00:52:48 PDT 2024


tschuett wrote:

If we `COPY` from a physical register, we might invoke `canCreateUndefOrPoison` with a physical register. Then we invoke `MRI.getVRegDef(Reg)` where `Reg` is a physical register. It will fail.

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


More information about the llvm-commits mailing list