It looks like since INLINEASM_BR was created off of INLINEASM, a few
checks for INLINEASM needed to be updated to check for either case.
pr/41999
Differential D62402
[AArch64] check for INLINEASM_BR along w/ INLINEASM nickdesaulniers on May 24 2019, 9:25 AM. Authored by
Details It looks like since INLINEASM_BR was created off of INLINEASM, a few pr/41999
Diff Detail
Event TimelineComment Actions LGTM. Unlike with the ARM constant pools, I've no idea how to write a test case to trigger an error here. Comment Actions There are two ways you could write a testcase: you could construct a test with an out of range "tbz" (if BranchRelaxation fails to trigger when it should), or you could write a testcase with a jump table entry that doesn't fit (if AArch64CompressJumpTables compresses a jump table too much). |