aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-07-22 02:09:47 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-07-22 02:09:47 +0000
commit3fabe07d4c3b386748387bd382cb8949497d359d (patch)
tree88dc50c2be2e894492b6706111f018abb9e20636 /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent1cb63afb44d9302e80517c494fa16504bb002401 (diff)
downloadllvm-3fabe07d4c3b386748387bd382cb8949497d359d.zip
llvm-3fabe07d4c3b386748387bd382cb8949497d359d.tar.gz
llvm-3fabe07d4c3b386748387bd382cb8949497d359d.tar.bz2
Fix constant island pass's handling of tBR_JTr. The offset of the instruction does not have to be 4-byte aligned. Rather, it's the offset + 2 that must be aligned since the instruction expands into:
mov pc, r1 .align 2 LJTI0_0_0: .long LBB0_14 This fixes rdar://8213383. No test case since it's not possible to come up with a suitable small one. llvm-svn: 109076
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions