[RISCV] Add more test cases to select.ll. NFC
authorCraig Topper <craig.topper@sifive.com>
Wed, 21 Dec 2022 18:20:59 +0000 (10:20 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 21 Dec 2022 18:38:12 +0000 (10:38 -0800)
commit51315d8deebb0d32b9f556bedae5251a4643b85a
treed4a10687aa758a60e95de9b5aed364e5317e024a
parenta3e360e3a9bc2c939c8893c2517fa9ebbdbafade
[RISCV] Add more test cases to select.ll. NFC

These are test for select (and (x , 0x1) == 0), (z ^ y), y ) and select (and (x , 0x1) == 0), (z | y), y )

These can be made branchless by using ((x-1) & z ) ^ y.
llvm/test/CodeGen/RISCV/select.ll