diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-27 04:17:01 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-27 04:17:01 +0000 |
commit | 96a890a7f831e80544574183e1b9c89dce35a99b (patch) | |
tree | 9f18b1bb0ae8cd7e469cc3983a6fb5201e63bf67 /clang/lib/Analysis/ScanfFormatString.cpp | |
parent | c3c05ed02e869dd844856af47316d9af82197f11 (diff) | |
download | bcm5719-llvm-96a890a7f831e80544574183e1b9c89dce35a99b.tar.gz bcm5719-llvm-96a890a7f831e80544574183e1b9c89dce35a99b.zip |
The isLoadFromStackSlot and isStoreToStackSlot have no way of reporting
subregister operands like this:
%reg1040:sub_32bit<def> = MOV32rm <fi#-2>, 1, %reg0, 0, %reg0, %reg1040<imp-def>; mem:LD4[FixedStack-2](align=8)
Make them return false when subreg operands are present. VirtRegRewriter is
making bad assumptions otherwise.
This fixes PR7713.
llvm-svn: 109489
Diffstat (limited to 'clang/lib/Analysis/ScanfFormatString.cpp')
0 files changed, 0 insertions, 0 deletions