aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorRamiro Leal-Cavazos <ramiroleal050@gmail.com>2023-04-20 18:00:08 +0000
committerRobert Suderman <suderman@google.com>2023-04-20 18:08:19 +0000
commitab2fc9521ec606603412645d4a4b3cf456acd153 (patch)
tree709b083f0984cb9d7b178c7c2dca5c8474715132 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentbbc983d33a17b87012c18053a816a8984ab191ca (diff)
downloadllvm-ab2fc9521ec606603412645d4a4b3cf456acd153.zip
llvm-ab2fc9521ec606603412645d4a4b3cf456acd153.tar.gz
llvm-ab2fc9521ec606603412645d4a4b3cf456acd153.tar.bz2
Fix handling of special and large vals in expand pattern for `round`
The current expand pattern for `math.round` does not handle the special values -0.0, +-inf, and +-nan correctly. It also does not properly handle values with magnitude |x| >= 2^23. Lastly, the pattern generates invalid IR when the input to `math.round` is a vector. This patch fixes these issues. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D148398
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions