C++: Match the join order from before #5522.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-06-09 15:02:31 +02:00
parent d65e6bbfa1
commit 879bfbbd4e
3 changed files with 3 additions and 3 deletions

View File

@@ -411,7 +411,7 @@ predicate addressOperandAllocationAndOffset(
allocation.getABaseInstruction() = base and
hasBaseAndOffset(addrOperand, base, bitOffset) and
not exists(Instruction previousBase |
hasBaseAndOffset(addrOperand, previousBase, _) and
hasBaseAndOffset(addrOperand, pragma[only_bind_out](previousBase), _) and
previousBase = base.getAnOperand().getDef()
)
)

View File

@@ -411,7 +411,7 @@ predicate addressOperandAllocationAndOffset(
allocation.getABaseInstruction() = base and
hasBaseAndOffset(addrOperand, base, bitOffset) and
not exists(Instruction previousBase |
hasBaseAndOffset(addrOperand, previousBase, _) and
hasBaseAndOffset(addrOperand, pragma[only_bind_out](previousBase), _) and
previousBase = base.getAnOperand().getDef()
)
)