Chromium Code Reviews
DescriptionSubzero: Fix an Om1 crash from memset lowering.
With a certain combination of memset arguments, legalizeToReg() is called but its result is unused. Om1 register allocation does not like this because it sees an infinite-weight variable with a definition but no uses. The simplest fix is to add a fake use.
The problem shows up when building spec2k with -Om1.
BUG= none
R=ascull@google.com
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=f6f9825e8b695d44c6cbd36d16eeb6f20f1b986e
Patch Set 1 #Patch Set 2 : Add a comment. #
Total comments: 2
Messages
Total messages: 5 (1 generated)
|
||||||||||||||||||||||||||||