[PATCH] D60413: [BDCE] SExt -> ZExt when no sign bits is used and instruction has multiple uses
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 01:49:31 PDT 2020
bjope added a comment.
One minor problem with implementing a reverse transform for targets that prefer sext over zext, e.g. in CodeGenPrepare, is that it will be hard to restore the debug info (considering that we do the right thing here an invalidate metadata uses).
Maybe we want to have anyext already in IR (to allow targets to use either zext or sext)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60413/new/
https://reviews.llvm.org/D60413
More information about the llvm-commits
mailing list