[PATCH] D72423: [DemandedBits] Improve accuracy of Add propagator
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jan 12 05:43:47 PST 2020
    
    
  
nikic added a comment.
@rrika Performing these kinds of tests on IR is both quite inefficient and unnecessary complex. It would be better to extract the code logic (which just operates on APInts) into a separate file, which will allow you to easily test it, and also share the logic with other places doing demanded bits analysis, such as InstCombine and SelectionDAG.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72423/new/
https://reviews.llvm.org/D72423
    
    
More information about the llvm-commits
mailing list