projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc8e2ea
)
[KnownBits] Add missing const to a couple of methods
author
Jay Foad
<jay.foad@amd.com>
Tue, 24 Jan 2023 15:01:16 +0000
(15:01 +0000)
committer
Jay Foad
<jay.foad@amd.com>
Tue, 24 Jan 2023 15:01:39 +0000
(15:01 +0000)
llvm/include/llvm/Support/KnownBits.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/KnownBits.h
b/llvm/include/llvm/Support/KnownBits.h
index
f20d3e1
..
0fb056b
100644
(file)
--- a/
llvm/include/llvm/Support/KnownBits.h
+++ b/
llvm/include/llvm/Support/KnownBits.h
@@
-414,11
+414,11
@@
public:
/// Compute known bits for the absolute value.
KnownBits abs(bool IntMinIsPoison = false) const;
- KnownBits byteSwap() {
+ KnownBits byteSwap()
const
{
return KnownBits(Zero.byteSwap(), One.byteSwap());
}
- KnownBits reverseBits() {
+ KnownBits reverseBits()
const
{
return KnownBits(Zero.reverseBits(), One.reverseBits());
}