DescriptionX87: [turbofan] Take the immediate size in account when narrowing ia32/x64 word comparison operators.
port 2da70f853d7f680d491c37c72d5ef04a85497ba9 (r36136)
original commit message:
Trying to re-land http://crrev.com/1948453002 after fixing assembler-x64.cc in http://crrev.com/1962563003.
Before this patch, we would emit a cmp or test with a memory operand only if both of the operands in the IR were loads.
Now if either of them is a load and the other one is an immediate, we can use a memory operand if the load representation machine size is wide enough to represent the latter.
BUG=
Committed: https://crrev.com/9af1f35fcc0f13d63ba8a985baccebb38dd031ed
Cr-Commit-Position: refs/heads/master@{#36159}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|