2 Commits

Author SHA1 Message Date
Weining Lu
90a52f4942 [LoongArch] Pass OptLevel to LoongArchDAGToDAGISel correctly
Like many other targets did. And see RISCV for similar fix.

Fix https://github.com/llvm/llvm-project/issues/143239
2025-06-07 15:33:58 +08:00
Weining Lu
fcc82cfa93 [LoongArch] Precommit test case to show bug in LoongArchISelDagToDag
The optimization level should not be restored into O2.
2025-06-07 15:10:26 +08:00