[all-commits] [llvm/llvm-project] 2dad79: [RISCV] Add test cases for conditional add/sub. NFC
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Aug 4 11:39:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2dad7979909a02d480514f37c9e55f752c0aa0a5
https://github.com/llvm/llvm-project/commit/2dad7979909a02d480514f37c9e55f752c0aa0a5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-08-04 (Wed, 04 Aug 2021)
Changed paths:
M llvm/test/CodeGen/RISCV/select-binop-identity.ll
Log Message:
-----------
[RISCV] Add test cases for conditional add/sub. NFC
InstCombine canonicalizes c ? (x+y) : x to (c ? y : 0) + x. It
does the same for and/or/xor. We already reverse this transform
for those, but don't do add/sub yet.
More information about the All-commits
mailing list