This patch makes LLVM compatible with GAS. It accepts la pseudo instruction on 64-bit arch and just shows a warning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
Since n32 worked before, you could change
It accepts la pseudo instruction on 64-bit arch and just shows a warning.
It accepts la pseudo instruction on arch with 64-bit pointers and just shows a warning.
llvm/test/MC/Mips/macro-la-64bit.s | ||
---|---|---|
2–7 | Judging by the test name, this test should check "la 64-bit-address". |
Judging by the test name, this test should check "la 64-bit-address".
Test has 32bit pointers because abi is O32, thus Is32BitAddress is true.
.set mips64r2 did change the feature bits but abi remains as specified in -triple=mips-unknown-linux.
Additionally it would be nice to add a few instructions with i64 immediates like in macro-dla.s.