Landing: 8332ce8b0b30

Project / Subsystem

gcc / loongarch

Date

2026-04-14

Author

Lulu Cheng

Commit

8332ce8b0b30b03268570e42be65261676836385

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
loongarch
patch_id
commit_hash
8332ce8b0b30b03268570e42be65261676836385
source_type
github
headline
LoongArch: Add RTX cost support for ORDERED comparison.
tldr
The LoongArch backend now defines the RTX cost for the ORDERED operation to prevent incorrect cost evaluations and test failures.
author
Lulu Cheng
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • loongarch
  • rtx
  • cost model
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-04-14T00:00:00.000Z

The LoongArch backend did not define the RTX cost for the ORDERED operation. This led to incorrect cost evaluations where UNORDERED was preferred over ORDERED, causing test failures. Since the assembly sequences are identical, this commit sets the RTX cost for ORDERED to match UNORDERED, ensuring consistent cost evaluation and resolving the test failures.