ARM: fix fast-isel assertion failure
authorTim Northover <tnorthover@apple.com>
Tue, 4 Feb 2014 10:38:46 +0000 (10:38 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 4 Feb 2014 10:38:46 +0000 (10:38 +0000)
commit284c931330404e61d548fc1eedf44d5dd1b87507
treea61f753c75c4e7d6e54462ebf075f9fb37236165
parentc55ee815d49693df6511ae72b03600bf7afe7863
ARM: fix fast-isel assertion failure

Missing braces on if meant we inserted both ARM and Thumb load for a litpool
entry. This didn't end well.

rdar://problem/15959157

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/fastisel-thumb-litpool.ll [new file with mode: 0644]