nikic wrote:

> We can do this fold in InstSimplify: https://alive2.llvm.org/ce/z/Dm53TP

The transform is only valid if the freeze(poison) is one-use. And I don't think 
that InstSimplify should be doing any use-based checks. So I think InstCombine 
is the right place for it.

https://github.com/llvm/llvm-project/pull/129776
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to