summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 00:53:04 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 00:53:04 +0000
commitec083b59edf0cbf0855527c753d9053bcdba33da (patch)
tree560673c49c9910d65694ad91ffa22efbdab30f4d /llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
parent00ec93da2655a42195dd3864104bf335ed11c73f (diff)
downloadbcm5719-llvm-ec083b59edf0cbf0855527c753d9053bcdba33da.tar.gz
bcm5719-llvm-ec083b59edf0cbf0855527c753d9053bcdba33da.zip
ARM: Avoid dereferencing end() in ARMFrameLowering::emitPrologue
llvm::tryFoldSPUpdateIntoPushPop assumes its arguments are valid MachineInstrs. Update ARMFrameLowering::emitPrologue to respect that; when LastPush==end(), it can't possibly be a push instruction anyway. llvm-svn: 278880
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud