diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-11-12 15:24:19 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-11-12 15:53:23 -0800 |
commit | e0e0891d741588684b0803d7724e5080f9c75537 (patch) | |
tree | 03fdba6911afab563450cccb0f4872109c790e0a /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | c2205ab30917e2718e8863d905b52b5dc453bd96 (diff) | |
download | llvm-e0e0891d741588684b0803d7724e5080f9c75537.zip llvm-e0e0891d741588684b0803d7724e5080f9c75537.tar.gz llvm-e0e0891d741588684b0803d7724e5080f9c75537.tar.bz2 |
[RISCV][GISel] Select G_BRCOND and G_ICMP together when possible.
This allows us to fold the G_ICMP operands into the conditional branch.
This reuses the helper function we have for folding a G_ICMP into
G_SELECT.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions