OSDN Git Service

Fix assertion failure in ARMConstantIslandPass.
authorKristof Beyls <kristof.beyls@arm.com>
Thu, 23 Feb 2017 12:24:55 +0000 (12:24 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Thu, 23 Feb 2017 12:24:55 +0000 (12:24 +0000)
commit93418eeb1d886747332ff404f0e2651e8d77879a
tree450e69864957a2f105bfefe7f49c2c46a7a4ec5d
parentee4b4ec8cc24c7e57e54fde623da0af87f1e2ca0
Fix assertion failure in ARMConstantIslandPass.

The ARMConstantIslandPass didn't have support for handling accesses to
constant island objects through ARM::t2LDRBpci instructions. This adds
support for that.

This fixes PR31997.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp
test/CodeGen/ARM/constantpool-promote.ll