[all-commits] [llvm/llvm-project] 4458ba: [RISCV][GISel] Select G_SELECT (G_ICMP, A, B) (#68...
Michael Maitland via All-commits
all-commits at lists.llvm.org
Mon Oct 23 07:07:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4458ba8cef1c3dcc3c9006f5292e3a276007b33f
https://github.com/llvm/llvm-project/commit/4458ba8cef1c3dcc3c9006f5292e3a276007b33f
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/select-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/select-rv64.mir
Log Message:
-----------
[RISCV][GISel] Select G_SELECT (G_ICMP, A, B) (#68247)
If MI is a G_SELECT(G_ICMP(tst, A, B), C, D) then we can use (A, B, tst)
as the (LHS, RHS, CC) of the Select_GPR_Using_CC_GPR.
More information about the All-commits
mailing list