[PATCH] D30416: [InstCombine] Redo reduceLoadOpStoreWidth in instcombine for bitfield store optimization.
    Michael Kuperstein via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar  6 20:02:18 PST 2017
    
    
  
mkuper added inline comments.
================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:5823
+  if (ActualModBits)
+    ActualModBits = ActualModBits - Mask.countLeadingZeros();
+}
----------------
mkuper wrote:
> Are you sure this does the right thing for xor?
Err, never mind, of course it does.
Repository:
  rL LLVM
https://reviews.llvm.org/D30416
    
    
More information about the llvm-commits
mailing list