[PATCH] D57718: [PPC] Adjust the computed branch offset for the possible shorter distance
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 12 15:33:45 PST 2019
efriedma added a comment.
> Even if you just want to trigger the patched code, the smaller test case still need to be at least 16KB.
On ARM and AArch64, we have special intrinsics int_aarch64_space/int_arm_space which are specifically intended to eat space, to allow constructing small testcases for branch relaxation etc. Maybe worth adapting to PPC if you expect to be writing multiple testcases like that. Actually, you probably don't need an IR intrinsic now that you can write MIR testcases; an MIR instruction should be sufficient.
CHANGES SINCE LAST ACTION
More information about the llvm-commits