C++: Further simplify a bit

This changes tuple counts!?
This commit is contained in:
Jonas Jensen
2020-01-03 16:23:00 +01:00
committed by Robert Marsh
parent 5072201b7e
commit 8acbb3bfb9

View File

@@ -574,13 +574,13 @@ module DefUse {
// An odd offset corresponds to the `Chi` instruction.
defOffset = oldOffset * 2 + 1 and
result = Chi(oldInstr) and
hasNonPhiDefinition(_, defLocation, defBlock, defOffset) and
defLocation = Alias::getResultMemoryLocation(oldInstr) and
actualDefLocation = defLocation.getVirtualVariable()
or
// An even offset corresponds to the original instruction.
defOffset = oldOffset * 2 and
result = getNewInstruction(oldInstr) and
hasNonPhiDefinition(_, defLocation, defBlock, defOffset) and
defLocation = Alias::getResultMemoryLocation(oldInstr) and
actualDefLocation = defLocation
)
or