summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/PostOrderCFGView.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2018-11-26 10:22:55 +0000
committerSam Parker <sam.parker@arm.com>2018-11-26 10:22:55 +0000
commit5338f7aae42f224b7e0d4b18ff61ed3b32e27074 (patch)
treee3792ec764c9c857ada82ab7f92d0c3b754e40e8 /clang/lib/Analysis/PostOrderCFGView.cpp
parent8cd9d1b5cebe8a694089ac983038966a2fe6a516 (diff)
downloadbcm5719-llvm-5338f7aae42f224b7e0d4b18ff61ed3b32e27074.tar.gz
bcm5719-llvm-5338f7aae42f224b7e0d4b18ff61ed3b32e27074.zip
[ARM] Prevent parallel macs for unsigned values
Both zext and sext are currently allowed during the search for narrow sequences and sexts operands are later added to the mac candidates. But operands of muls are also added, without checking whether they're sext or zext, which means we can generate a signed smlad when we shouldn't. Differential Revision: https://reviews.llvm.org/D54790 llvm-svn: 347542
Diffstat (limited to 'clang/lib/Analysis/PostOrderCFGView.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud