diff options
author | Roland Scheidegger <[email protected]> | 2014-05-15 16:26:00 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-05-16 01:09:34 +0200 |
commit | 93731fbeec4e89584f4663c8cc8230d73076eec7 (patch) | |
tree | bae77aa3292c35e2e582a129237585b2bba347dc /common.py | |
parent | 8a6f7dfc1943f41db36bb28fb753a40eeefaf8d9 (diff) |
gallivm: remove workaround for reversing optimization pass order.
32bit code generation and llvm >= 2.7 used a different optimization pass
order - this code was initially introduced (2010-07-23) by
815e79e72c1f4aa849c0ee6103621685b678bc9d, apparently due to buggy code being
generated with then brand new llvm versions (which was llvm 2.7 plus pre 2.8
devel).
It seems very highly likely that whatever this bug was it has been fixed in
newer llvm versions, though there's no easy way to test this - the mentioned
piglit test has been removed years ago, and even if you'd build it I'm
sceptical the glsl compiler would still produce the required code to trigger
it.
I have no idea what a good order of passes is, but just remove the workaround
and use the same order everywhere.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions