[PATCH] D145327: [InstSimplify] Simplify `(shl nsw nuw X, BitWidth - 1)` -> `0`
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar  6 01:43:30 PST 2023
    
    
  
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:1448
 
+  Type * Ty = Op0->getType();
   // undef << X -> 0
----------------
Spurious space after `*`.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145327/new/
https://reviews.llvm.org/D145327
    
    
More information about the llvm-commits
mailing list