aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDhruv Chawla <dhruv263.dc@gmail.com>2023-05-17 15:12:11 +0200
committerNikita Popov <npopov@redhat.com>2023-05-17 15:15:05 +0200
commitb66551370fdfc6f357ae0d77237119d2b1077b62 (patch)
tree445e3308441859baa52dcc5656981f13d5fa42b7 /clang/lib/Basic/Module.cpp
parentf8ab84171e6e718434d0237dfe026b5af9a53db1 (diff)
downloadllvm-b66551370fdfc6f357ae0d77237119d2b1077b62.zip
llvm-b66551370fdfc6f357ae0d77237119d2b1077b62.tar.gz
llvm-b66551370fdfc6f357ae0d77237119d2b1077b62.tar.bz2
[SelectionDAG] Handle NSW for ADD/SUB in computeKnownBits()
This patch is a continuation of D150110. It separates the cases for ADD and SUB into their own cases so that computeForAddSub can be directly called and the NSW flag passed. This allows better optimization when the NSW flag is enabled, and allows fixing up the TODO that was there previously in SimplifyDemandedBits. Differential Revision: https://reviews.llvm.org/D150769
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions