aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-eh.cc
diff options
context:
space:
mode:
authorDie Li <lidie@eswincomputing.com>2023-06-03 11:02:09 -0600
committerJeff Law <jlaw@ventanamicro.com>2023-06-03 11:02:57 -0600
commite1d2493f5912c340b50f49e4c2d928870faa172b (patch)
tree301947585e192c3db62f0bd58e472b4a30d829d3 /gcc/tree-eh.cc
parentd42f3ad0f79619d40e9060c22d8019ebf5cbed3e (diff)
downloadgcc-e1d2493f5912c340b50f49e4c2d928870faa172b.zip
gcc-e1d2493f5912c340b50f49e4c2d928870faa172b.tar.gz
gcc-e1d2493f5912c340b50f49e4c2d928870faa172b.tar.bz2
Remove unnecessary md pattern for TARGET_XTHEADCONDMOV
There are 2 small changes in this patch, but they do not affect the result. 1. Remove unnecessary md pattern for TARGET_XTHEADCONDMOV in thead.md. The operands[4] in "if_then_else" are always comparison operations, so the generated rtl does not match the pattern that is expected to be deleted. 2. Change operands[4] from const0_rtx to operands[1] to maintain rtl consistency. Although when output assembly, only operands[4] CODE will affect the output result. Signed-off-by: Die Li <lidie@eswincomputing.com> gcc/ChangeLog: * config/riscv/thead.md (*th_cond_gpr_mov<GPR:mode><GPR2:mode>): Delete.
Diffstat (limited to 'gcc/tree-eh.cc')
0 files changed, 0 insertions, 0 deletions