summaryrefslogtreecommitdiffstats
path: root/src/mapi/mapi.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-05-25 22:41:06 -0400
committerIlia Mirkin <[email protected]>2016-05-26 21:23:49 -0400
commitdf2881381ac67c42aa8ec9e0ed28f21a1d253785 (patch)
treed09699ff711d1b3118d9e48acb5b286187a26c94 /src/mapi/mapi.c
parent04ecad97ff7b44bd9afd1bff9108dea199723829 (diff)
nvc0/ir: handle a load's reg result not being used for locked variants
For a load locked, we might not use the first result but the second result is the predicate result of the locking. In that case the load splitting logic doesn't apply (which is designed for splitting 128-bit loads). Instead we take the predicate and move it into the first position (as having a dead result in first def's position upsets all sorts of things including RA). Update the emitters to deal with this as well. Signed-off-by: Ilia Mirkin <[email protected]> Tested-by: Dave Airlie <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mapi/mapi.c')
0 files changed, 0 insertions, 0 deletions