Instead of relying on constant operands, use known bits to do the
computation.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 60,030 ms | x64 debian > MLIR.Examples/standalone::test.toy | 
Paths 
  |  Differential  D157532  
[InstCombine] Improve logic for adding flags to shift instructions. AbandonedPublic Authored by goldstein.w.n on Aug 9 2023, 11:31 AM. 
Details Summary Instead of relying on constant operands, use known bits to do the 
Diff Detail 
 
Unit TestsFailed 
 
Revision Contents 
 
 
 
Diff 548707 llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
 llvm/test/Analysis/ValueTracking/known-power-of-two.ll
 llvm/test/Transforms/InstCombine/and-add-shl.ll
 llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-pr49778.ll
 llvm/test/Transforms/InstCombine/rotate.ll
 llvm/test/Transforms/InstCombine/shift-flags.ll
 llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll
 llvm/test/Transforms/InstCombine/trunc.ll
 llvm/test/Transforms/PhaseOrdering/X86/SROA-after-final-loop-unrolling-2.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||