diff options
author | Craig Topper <craig.topper@intel.com> | 2019-10-01 21:55:55 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-10-01 21:55:55 +0000 |
commit | 912870573c5f55b3f6dc4494a608e3ee9c2f730d (patch) | |
tree | 50ca6982e08a99c302d427cd01305a51fa1063a5 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | f7133b797749c4edd91d4ddd8a7a64e319650fad (diff) | |
download | llvm-912870573c5f55b3f6dc4494a608e3ee9c2f730d.zip llvm-912870573c5f55b3f6dc4494a608e3ee9c2f730d.tar.gz llvm-912870573c5f55b3f6dc4494a608e3ee9c2f730d.tar.bz2 |
[X86] convertToThreeAddress, make sure second operand of SUB32ri is really an immediate before calling getImm().
It might be a symbol instead. We can't fold those since we can't
negate them.
Similar for other SUB with immediates.
Fixes PR43529.
llvm-svn: 373397
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions