[llvm] [VectorCombine] foldShuffleOfBinops - failure to track OperandValueInfo (PR #171934)

Kavin Gnanapandithan via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 10:08:46 PST 2026


KavinTheG wrote:

- Implemented suggest changes:
  - `Op0Info = TTI.commonOperandInfo(X, Z)` & `Op1Info` above their respective if statements
    - Removed `getOperandInfo`  call within if statements (X == Z and Y == W) as this is already performed within `commonOperandInfo`
  - Simplified `mergeWith`
  - Moved new test cases to the bottom

https://github.com/llvm/llvm-project/pull/171934


More information about the llvm-commits mailing list