llvm-project
586a8ef4 - [LoongArch][NFC] Add tests for folding non-canonical large offset chains (#242942)

Commit
3 days ago
[LoongArch][NFC] Add tests for folding non-canonical large offset chains (#242942) Add tests where the offset is partially materialized in another basic block, so the offset chain seen by foldLargeOffset() is not in the canonical form produced by LoongArchMatInt. The current output is wrong: ori_ori: expected g+257, got g+1 ori_ori_overlap: expected g+305419903, got g+305418255 ori_slli_ori: expected g+44016, got g+41200 (large code model) Assisted-By: LLM
Author
Parents
Loading