freedreno/ir3: be more clever with if/else jumps
authorRob Clark <robdclark@gmail.com>
Mon, 15 Jan 2018 20:57:52 +0000 (15:57 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000 (14:54 -0500)
commita5c28fe07b2822866aaedfe94362918904bd8869
tree94342bd7c0057709117918f271f4d9a20856f663
parent44dd7dcd2fb0d59cf33bad5313bd45b583002ae4
freedreno/ir3: be more clever with if/else jumps

Try to clean up things like:

  br !p0.x #2
  br p0.x #something

to eliminate the first branch.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_legalize.c