[PATCH] D70533: [AArch64] Fix a bug with jump table generation
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 06:06:53 PDT 2020
fhahn added inline comments.
Herald added a subscriber: danielkiss.
================
Comment at: llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp:330
+ if (!valueFitsIntoFixupKind(Fixup.getTargetKind(), Value))
+ Ctx.reportError(Fixup.getLoc(), "fixup value too large for data type!");
+ LLVM_FALLTHROUGH;
----------------
It appears like this error unfortunately can also be triggered by valid LLVM IR. @t.p.northover put up a patch to remove the error D88085. I am not sure if there is a more targeted way to only detect transforms in the backend that result in invalid overflows.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70533/new/
https://reviews.llvm.org/D70533
More information about the llvm-commits
mailing list