File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ template <typename OperandType> class IRObjectWithUseList {
47
47
// / the IR that uses 'this' to use the other value instead. When this returns
48
48
// / there are zero uses of 'this'.
49
49
void replaceAllUsesWith (typename OperandType::ValueType newValue) {
50
- assert (!newValue || this != OperandType::getUseList (newValue) &&
51
- " cannot RAUW a value with itself" );
50
+ assert (( !newValue || this != OperandType::getUseList (newValue) ) &&
51
+ " cannot RAUW a value with itself" );
52
52
while (!use_empty ())
53
53
use_begin ()->set (newValue);
54
54
}
@@ -126,8 +126,8 @@ class IRMultiObjectWithUseList : public IRObjectWithUseList<OperandType> {
126
126
void replaceAllUsesWith (ValueType oldValue, ValueType newValue) {
127
127
assert (this == OperandType::getUseList (oldValue) &&
128
128
" value not attached to this use list" );
129
- assert (!newValue || this != OperandType::getUseList (newValue) &&
130
- " cannot RAUW a value with itself" );
129
+ assert (( !newValue || this != OperandType::getUseList (newValue) ) &&
130
+ " cannot RAUW a value with itself" );
131
131
for (OperandType &use : llvm::make_early_inc_range (getUses (oldValue)))
132
132
use.set (newValue);
133
133
}
You can’t perform that action at this time.
0 commit comments