aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorChris Lattner <clattner@nondot.org>2021-10-06 09:53:50 -0700
committerChris Lattner <clattner@nondot.org>2021-10-06 12:37:53 -0700
commitad37a45a2e137fe05591f3fe7d23b5b921e7ff1d (patch)
tree9d5df793aa3e74721d73eb67bad5d23218f534af /llvm/lib/IR/Function.cpp
parent8c08f21b6041d683b9466e463a5358c4d4fcac19 (diff)
downloadllvm-ad37a45a2e137fe05591f3fe7d23b5b921e7ff1d.zip
llvm-ad37a45a2e137fe05591f3fe7d23b5b921e7ff1d.tar.gz
llvm-ad37a45a2e137fe05591f3fe7d23b5b921e7ff1d.tar.bz2
[APInt] Fix isAllOnes and extractBits for zero width values.
isAllOnes() should return true for zero bit values because there are no zeros in it. Thanks to Jay Foad for pointing this out. Differential Revision: https://reviews.llvm.org/D111241
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions