diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-07-05 18:54:00 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-07-05 18:54:00 +0000 |
| commit | d22b2d01cae378c7caa6001f4d98f3d7965ed578 (patch) | |
| tree | 89972d133e796c950d9e1e46a610a472689bbff2 /llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp | |
| parent | 51de5164865867c17ce7da30428311153eabd5ed (diff) | |
| download | bcm5719-llvm-d22b2d01cae378c7caa6001f4d98f3d7965ed578.tar.gz bcm5719-llvm-d22b2d01cae378c7caa6001f4d98f3d7965ed578.zip | |
[X86] Correct the size check in foldMemoryOperandCustom.
The Size either needs to be 0 meaning we aren't folding
a stack reload. Or the stack slot needs to be at least
16 bytes. I've also added a paranoia check ensure the
RCSize is at leat 16 bytes as well. This avoids any
FR32/FR64 surprises, but I think we already filtered
those earlier.
All of our test case have Size as either 0 or 16 and
RCSize == 16. So the Size <= 16 check worked for those
cases.
llvm-svn: 365234
Diffstat (limited to 'llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions

