diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-06-16 20:39:45 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-06-16 20:39:45 +0000 |
commit | 5a663bd77acbd536f16af7829c5f3c4efa14ffe1 (patch) | |
tree | b38d325afe588bb773e02dbe35146c64f751d16f /lldb/packages/Python/lldbsuite/test/bench.py | |
parent | 9b2d96024ae604aab0e050829d6ad5846166576d (diff) | |
download | llvm-5a663bd77acbd536f16af7829c5f3c4efa14ffe1.zip llvm-5a663bd77acbd536f16af7829c5f3c4efa14ffe1.tar.gz llvm-5a663bd77acbd536f16af7829c5f3c4efa14ffe1.tar.bz2 |
[InstSimplify] Fix addo/subo undef folds (PR42209)
Fix folds of addo and subo with an undef operand to be:
`@llvm.{u,s}{add,sub}.with.overflow` all fold to `{ undef, false }`,
as per LLVM undef rules.
Same for commuted variants.
Based on the original version of the patch by @nikic.
Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=42209 | PR42209 ]]
Differential Revision: https://reviews.llvm.org/D63065
llvm-svn: 363522
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/bench.py')
0 files changed, 0 insertions, 0 deletions