gallivm: use fallback code for mul_hi with llvm >= 7.0
authorRoland Scheidegger <sroland@vmware.com>
Wed, 28 Aug 2019 19:35:45 +0000 (21:35 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 29 Aug 2019 14:55:49 +0000 (16:55 +0200)
commit332b21db55e6e6ec777b940f1b95843010d22157
tree674bea029530ce3835b4420e6c7cc99eb6566988
parentb650ecfe31215c213876771134bf6685b7765601
gallivm: use fallback code for mul_hi with llvm >= 7.0

LLVM 7.0 ditched the pmulu intrinsics.
This is only a trivial patch to use the fallback code instead.
It'll likely produce atrocious code since the pattern doesn't match what
llvm itself uses in its autoupgrade paths, hence the pattern won't be
recognized.

Should fix https://bugs.freedesktop.org/show_bug.cgi?id=111496

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c