2 Commits

Author SHA1 Message Date
Nikita Popov
e544f8b3f6 [XCore] Convert some tests to opaque pointers (NFC) 2022-12-19 13:12:27 +01:00
Richard Osborne
1b5fc39710 [XCore] Fix call of absolute address.
Previously for:

tail call void inttoptr (i64 65536 to void ()*)() nounwind

We would emit:

bl 65536

The immediate operand of the bl instruction is a relative offset so it is
wrong to use the absolute address here.

llvm-svn: 202860
2014-03-04 16:50:30 +00:00