[PATCH] D119645: [Transforms] Fix a cast to Instruction if CreateLShr() returns a constant
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 14 02:08:41 PST 2022
nikic added a comment.
I've taken the liberty of deleting this code entirely in https://github.com/llvm/llvm-project/commit/efece08ae27d8ace684c5119d6696b1a18b2150f. We rely on automatic debug loc assignment everywhere else in InstCombine, I don't see any reason why this fold would need special treatement.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119645/new/
https://reviews.llvm.org/D119645
More information about the llvm-commits
mailing list