Skip to content

Commit acd6bb0

Browse files
committed
Fix bug.
1 parent 00ffdaa commit acd6bb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ SPIRVSubtarget::SPIRVSubtarget(const Triple &TT, const std::string &CPU,
7070
SPIRVVersion = VersionTuple(1, 3);
7171
break;
7272
case Triple::SPIRVSubArch_v14:
73+
SPIRVVersion = VersionTuple(1, 4);
74+
break;
7375
default:
7476
if (TT.getVendor() == Triple::AMD)
7577
SPIRVVersion = VersionTuple(1, 6);

0 commit comments

Comments
 (0)