From b3f453825de34b13f08eee830a30f4b216ac969e Mon Sep 17 00:00:00 2001 From: xuechen2 Date: Thu, 19 Oct 2023 10:55:55 +0800 Subject: [PATCH] Upgrade lgc units default gpu name to gfx1010 (cherry picked from d743c53d38d7dc718d941c9a7a9ff9f17b255748) --- lgc/unittests/interface/OptLevelTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgc/unittests/interface/OptLevelTest.cpp b/lgc/unittests/interface/OptLevelTest.cpp index d06c6c828b..ae080771c1 100644 --- a/lgc/unittests/interface/OptLevelTest.cpp +++ b/lgc/unittests/interface/OptLevelTest.cpp @@ -39,7 +39,7 @@ TEST(LgcInterfaceTests, DefaultOptLevel) { auto dialectContext = llvm_dialects::DialectContext::make(context); unsigned palAbiVersion = 0xFFFFFFFF; - StringRef gpuName = "gfx802"; + StringRef gpuName = "gfx1010"; #if LLVM_MAIN_REVISION && LLVM_MAIN_REVISION < 474768 // Old version of the code