[PATCH] D83923: [MachineOutliner][AArch64] Fix for noreturn functions
Puyan Lotfi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 13:20:41 PDT 2020
plotfi marked an inline comment as done.
plotfi added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:6113-6115
+ // than one fixup required. The code to handle this asserts currently
+ // because it has not been sufficiently tested for this fixup behavior and
+ // still needs better checks for legal codegen.
----------------
paquette wrote:
> It's actually that it hasn't been implemented, not that it's untested. If you fix up twice you can get wrong code, guaranteed, because you don't know if you'll overflow the instruction.
Ahh! I will update the comment and the bugzilla task. Do you think the outliner should bail here if it is a Noreturn call or a call or just noreturn call?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83923/new/
https://reviews.llvm.org/D83923
More information about the llvm-commits
mailing list