nv50/ir: restructure and rename postraconstantfolding pass
authorKarol Herbst <karolherbst@gmail.com>
Sun, 26 Mar 2017 19:45:57 +0000 (21:45 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 1 Apr 2017 03:57:12 +0000 (23:57 -0400)
commitd6ce32514760296b19f7609ec12f25e46c8ea34a
tree21ddd73fc1e3a8fc689b800d86aa31f5246bc272
parentf2a4d881fe94512f7600ec33622af58b8ca06fff
nv50/ir: restructure and rename postraconstantfolding pass

we might want to add more folding passes here, so make it a bit more generic

v2: leave the comment and reword commit message
v4: rename it to PostRaLoadPropagation

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp