diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-11 00:39:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-11 00:39:26 +0000 |
commit | 9cef48eae9a4776ef2f42687072e7c61cb33e10d (patch) | |
tree | 7fddce7fcbedc911237fdf7f1d6acfd00df602fd /utils | |
parent | 4a215a13c3035a8818254b61267be77def4a2a37 (diff) | |
download | external_llvm-9cef48eae9a4776ef2f42687072e7c61cb33e10d.zip external_llvm-9cef48eae9a4776ef2f42687072e7c61cb33e10d.tar.gz external_llvm-9cef48eae9a4776ef2f42687072e7c61cb33e10d.tar.bz2 |
It's not legal to fold a load from a narrower stack slot into a wider instruction. If done, the instruction does a 64-bit load and that's not
safe. This can happen we a subreg_to_reg 0 has been coalesced. One
exception is when the instruction that folds the load is a move, then we
can simply turn it into a 32-bit load from the stack slot.
rdar://7170444
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions