aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.cc
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2023-11-09 14:42:04 +0800
committerPan Li <pan2.li@intel.com>2023-11-09 20:33:34 +0800
commit177ca16b615d285f419cf2ab0337bc01f7be09db (patch)
treeb6d8e08ceebbb7a4931b51f758b2afd66bd5ae05 /libcpp/line-map.cc
parent83f66d90af69837f7c8fc88f8afb7074d4555394 (diff)
downloadgcc-177ca16b615d285f419cf2ab0337bc01f7be09db.zip
gcc-177ca16b615d285f419cf2ab0337bc01f7be09db.tar.gz
gcc-177ca16b615d285f419cf2ab0337bc01f7be09db.tar.bz2
RISC-V: Refine frm emit after bb end in succ edges
This patch would like to fine the frm insn emit when we meet abnormal edge in the loop. Conceptually, we only need to emit once when abnormal instead of every iteration in the loop. This patch would like to fix this defect and only perform insert_insn_end_basic_block when at least one succ edge is abnormal. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_frm_emit_after_bb_end): Only perform once emit when at least one succ edge is abnormal. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions