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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 00:15:27 PDT 2021


mstorsjo added a comment.

I also run into infinite loops caused by this commit. It's reproducible with https://martin.st/temp/qsettings-preproc.cpp with `clang -target x86_64-w64-mingw32 -c qsettings-preproc.cpp -O3 -std=c++17`. But that's not minimzed/reduced at all (and that source file takes a pretty significant amount of time to compile even to begin with).


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