Commit c8c000ce authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[ia32] treat kTagged{Signed,Pointer} as kTagged for memory operands

Bug: chromium:777101
Change-Id: I29260420a855a060348f26138681a842bb31eb20
Reviewed-on: https://chromium-review.googlesource.com/732900
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48860}
parent 9317f8d2
......@@ -46,8 +46,7 @@ class IA32OperandGenerator final : public OperandGenerator {
case kIA32Sub:
case kIA32Cmp:
case kIA32Test:
return rep == MachineRepresentation::kWord32 ||
rep == MachineRepresentation::kTagged;
return rep == MachineRepresentation::kWord32 || IsAnyTagged(rep);
case kIA32Cmp16:
case kIA32Test16:
return rep == MachineRepresentation::kWord16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment