clover: Initialize Asm Parsers
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 19 Jan 2020 02:27:01 +0000 (21:27 -0500)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 21 Jan 2020 01:39:08 +0000 (01:39 +0000)
Fixes piglits that use ADMGCN inline assembly:
program@execute@calls
program@execute@amdgcn-mubuf-negative-vaddr

CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
src/gallium/state_trackers/clover/llvm/invocation.cpp

index bef334c2d632fab1dd1c518b907f6c7787092326..95a9d036622a29117087221badb822da8a0059a9 100644 (file)
@@ -104,6 +104,7 @@ namespace {
          LLVMInitializeAllTargets();
          LLVMInitializeAllTargetInfos();
          LLVMInitializeAllTargetMCs();
+         LLVMInitializeAllAsmParsers();
          LLVMInitializeAllAsmPrinters();
          targets_initialized = true;
       }