DescriptionSubzero. ARM32. Removes memory legalization warts.
This CL removes two warts from the ARM32 backend:
1) during argument lowering, if a stack parameter is assigned a
register, the backend creates a new Variable that references the stack
location with the incoming argument, and _mov() it to the parameter.
2) During stack slot legalization, all _mov(Mem(), Reg) are converted to
stores; and all _mov(Reg, Mem()) are converted to loads.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4076
R=kschimpf@google.com
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=3f6b47d53174f4f44d8b7c32d806fc5b5288a218
Patch Set 1 #Patch Set 2 : Legalizes _mov(Var, Mem()) and _mov(Mem(), Var) to _ldr and _str. #Patch Set 3 : Fixes lit. presubmit cleared. #
Total comments: 6
Patch Set 4 : Addresses comments #
Total comments: 4
Messages
Total messages: 10 (4 generated)
|