ac: fix f2b and i2b for doubles
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 26 Feb 2018 05:12:41 +0000 (16:12 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Feb 2018 22:23:49 +0000 (09:23 +1100)
commit3a0b4187ddeadc1fbeb0774540caa36a3a68974a
tree124f1ab9d1afaecc5fa0e2456450f1dd2024c9f0
parentcb309d27c52e9a6eeeedbddb82a0f6eb75a6f263
ac: fix f2b and i2b for doubles

Without this llvm was asserting in debug builds.

V2: use LLVMConstNull()

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c