Skip to content
Unverified Commit 60a59807 authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[NFC][Attributor] Fix warning in last commit

```
/repositories/llvm-project/llvm/include/llvm/Transforms/IPO/Attributor.h:5076:47: note: cast one or both operands to int to silence this warning
1 warning generated.
[ 89% 599/666][ 75% 00:48 + 00:15] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilderPipelines.cpp.o
In file included from /repositories/llvm-project/llvm/lib/Passes/PassBuilderPipelines.cpp:42:
/repositories/llvm-project/llvm/include/llvm/Transforms/IPO/Attributor.h:5076:47: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
    bool isWriteOrAssumption() const { return isWrite() | isAssumption(); }
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                                        ||

```
parent a72883b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment