summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ObjCARCAnalysisUtils.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-22 22:28:39 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-22 22:28:39 +0000
commit10e2f73793981045ae35239fc5590d131a486f11 (patch)
treeeb59d9b9bd7820d1e2053da0e4c2eb16ddd48c07 /llvm/lib/Analysis/ObjCARCAnalysisUtils.cpp
parent1e2d5cb06c4543f0c49beb8b585d63a90e915499 (diff)
downloadbcm5719-llvm-10e2f73793981045ae35239fc5590d131a486f11.tar.gz
bcm5719-llvm-10e2f73793981045ae35239fc5590d131a486f11.zip
[X86][AsmParser] Keep track of whether an explicit scale was specified while parsing an address in Intel syntax. Use it for improved error checking.
This allows us to check these: -16-bit addressing doesn't support scale so we should error if we find one there. -Multiplying ESP/RSP by a scale even if the scale is 1 should be an error because ESP/RSP can't be an index. llvm-svn: 335398
Diffstat (limited to 'llvm/lib/Analysis/ObjCARCAnalysisUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud