clover: Fix build since llvm r231270
authorTom Stellard <thomas.stellard@amd.com>
Wed, 4 Mar 2015 21:09:50 +0000 (13:09 -0800)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 4 Mar 2015 21:10:56 +0000 (13:10 -0800)
src/gallium/state_trackers/clover/llvm/invocation.cpp

index 93548122647187a99076730043bf2cf51d4eb536..4da62b9b70cdd7109816b02a587ea9e8e78ae5f6 100644 (file)
@@ -332,7 +332,7 @@ namespace {
       PM.add(new llvm::DataLayout(mod));
 #elif HAVE_LLVM < 0x0306
       PM.add(new llvm::DataLayoutPass(mod));
-#else
+#elif HAVE_LLVM < 0x0307
       PM.add(new llvm::DataLayoutPass());
 #endif
       PM.add(llvm::createInternalizePass(export_list));