summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-10-18 09:47:48 +0000
committerDavid Green <david.green@arm.com>2019-10-18 09:47:48 +0000
commite6f313b3807d23017d188aa7060b8cad09b3d095 (patch)
treea5ee51474dbccbb28c4739edcc39dec640610a6d /lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
parent0c7cc383e5b846bc9e9fcc599d3f342333f5c963 (diff)
downloadbcm5719-llvm-e6f313b3807d23017d188aa7060b8cad09b3d095.tar.gz
bcm5719-llvm-e6f313b3807d23017d188aa7060b8cad09b3d095.zip
[Codegen] Alter the default promotion for saturating adds and subs
The default promotion for the add_sat/sub_sat nodes currently does: ANY_EXTEND iN to iM SHL by M-N [US][ADD|SUB]SAT L/ASHR by M-N If the promoted add_sat or sub_sat node is not legal, this can produce code that effectively does a lot of shifting (and requiring large constants to be materialised) just to use the overflow flag. It is simpler to just do the saturation manually, using the higher bitwidth addition and a min/max against the saturating bounds. That is what this patch attempts to do. Differential Revision: https://reviews.llvm.org/D68926 llvm-svn: 375211
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud