https://github.com/arichardson created 
https://github.com/llvm/llvm-project/pull/139601

We lower ptrtoaddr by emitting a G_PTRTOINT, truncating that to the
address size and then truncate/zext to the final integer type.

This has exposed an issue in the GlobalIsel postlegalizer combines where
the truncate is incorrectly being removed.
See https://github.com/llvm/llvm-project/issues/139598



_______________________________________________
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