nir: no-op C99 _Pragma() with MSVC
authorBrian Paul <brianp@vmware.com>
Sat, 23 Nov 2019 02:42:34 +0000 (19:42 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 23 Nov 2019 17:34:24 +0000 (10:34 -0700)
commita2689ebcd68ccf9b3bcbf9bae926c70beccd6a11
tree60285024b3f9312fa6261df7a09920a44e6279e7
parent95fdde5a60fc04376eb49a1d62ead163516759f3
nir: no-op C99 _Pragma() with MSVC

This fixes a build failure on MSVC.

BTW, it looks like clang supports _Pragma() but I don't know if it
understands the "gcc unroll N" directive.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_range_analysis.c