Landing: 11ae0ce30560

Project / Subsystem

gcc / loongarch

Date

2026-09-03

Author

Xi Ruoyao

Commit

11ae0ce305601ebf85b1a09b130cb3e7b46157f9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
loongarch
patch_id
—
commit_hash
11ae0ce305601ebf85b1a09b130cb3e7b46157f9
source_type
github
headline
LoongArch: Fix __builtin_bitreverse16 ICE on LA32R
tldr
Fixes an internal compiler error for __builtin_bitreverse16 on LoongArch 32-bit Reduced.
author
Xi Ruoyao
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • loongarch
  • • compiler error
  • • intrinsic
discussion_id_link
—
bugzilla_pr
—
date
2026-09-03T00:00:00.000Z

This commit resolves an internal compiler error (ICE) on the LoongArch 32-bit Reduced (LA32R) architecture when using the __builtin_bitreverse16 intrinsic. The fix involves disabling this intrinsic specifically for the LA32R target, along with a new test case to confirm the correction.