Skip to content

Commit fcacda8

Browse files
committed
[RISCV] Remove constant_fold_cast_op from RISCVPostLegalizerCombiner.
This is no longer tested after other recent changes. AArch64 does have this in their PostLegalizerCombiner.
1 parent 9571cc2 commit fcacda8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVCombine.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ def RISCVO0PreLegalizerCombiner: GICombiner<
2424
def RISCVPostLegalizerCombiner
2525
: GICombiner<"RISCVPostLegalizerCombinerImpl",
2626
[sub_to_add, combines_for_extload, redundant_and,
27-
identity_combines, shift_immed_chain, commute_constant_to_rhs,
28-
constant_fold_cast_op]> {
27+
identity_combines, shift_immed_chain,
28+
commute_constant_to_rhs]> {
2929
}

0 commit comments

Comments
 (0)