[all-commits] [llvm/llvm-project] 2c63e8: [AArch64] Fix a bug with jump table generation
Cullen Rhodes via All-commits
all-commits at lists.llvm.org
Fri Dec 6 06:33:21 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2c63e8e36df071e62feb7ac9c948d6fdd54e0c35
https://github.com/llvm/llvm-project/commit/2c63e8e36df071e62feb7ac9c948d6fdd54e0c35
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2019-12-06 (Fri, 06 Dec 2019)
Changed paths:
M llvm/lib/Target/AArch64/AArch64CompressJumpTables.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
A llvm/test/CodeGen/AArch64/jti-correct-datatype.mir
Log Message:
-----------
[AArch64] Fix a bug with jump table generation
Summary:
When trying to calculate the offsets for the jump table entries
we fail to take into account the block alignment, which could be
greater than 4 bytes. This led to cases where the jump table
offset was too big to fit in a byte.
Reviewers: t.p.northover, sdesmalen, ostannard
Reviewed By: ostannard
Subscribers: ostannard, kristof.beyls, hiraditya, llvm-commits
Committed on behalf of David Sherwood (david-arm)
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70533
More information about the All-commits
mailing list