[PATCH] D110170: [InstCombine] fold cast of right-shift if high bits are not demanded

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 24 07:51:18 PDT 2021


spatel added a comment.

The root bug is in that same block that caused the previous problem. 
I think it's time to fix that for good by decomposing it into simpler folds that won't conflict with other transforms. 
So I reverted this patch again: 3c5500907b10 <https://reviews.llvm.org/rG3c5500907b1089f4b274b09a195ee0685d51f9e2>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110170



More information about the llvm-commits mailing list