summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-11 00:39:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-11 00:39:26 +0000
commit3cad6283b80c416c2cd6c92b143646d0ce638676 (patch)
treef8e26bd121e2782610a9e8289d7ab62f1759738a /clang/lib/Basic/Targets.cpp
parent9cbef32726b8cd392e600594cd75f9b99fa60635 (diff)
downloadbcm5719-llvm-3cad6283b80c416c2cd6c92b143646d0ce638676.tar.gz
bcm5719-llvm-3cad6283b80c416c2cd6c92b143646d0ce638676.zip
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 llvm-svn: 81494
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud