[PATCH] D93617: [DemandedBits] Add a whitelist when computing demanded bits of Trunc Instruction

guopeilin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 01:07:42 PST 2020


guopeilin added a comment.

To avoid wrongly truncating operands, I add a whitelist for computing demanded bits of Instruction::Trunc's operands, that is we only reduce the demanded bits for those instructions that are always truncation friendly, such as ADD or SUB.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93617/new/

https://reviews.llvm.org/D93617



More information about the llvm-commits mailing list