We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c2242 commit 4bc7cc1Copy full SHA for 4bc7cc1
IGC/common/IGCConstantFolder.h
@@ -264,10 +264,17 @@ class IGCConstantFolder
264
return m_baseConstantFolder.CreateInsertElement(Vec, NewElt, Idx);
265
}
266
267
+#if LLVM_VERSION_MAJOR < 11
268
inline llvm::Constant* CreateShuffleVector(llvm::Constant* V1, llvm::Constant* V2,
269
llvm::Constant* Mask) const {
270
return m_baseConstantFolder.CreateShuffleVector(V1, V2, Mask);
271
272
+#else
273
+ inline llvm::Constant* CreateShuffleVector(llvm::Constant* V1, llvm::Constant* V2,
274
+ llvm::ArrayRef<int> Mask) const {
275
+ return m_baseConstantFolder.CreateShuffleVector(V1, V2, Mask);
276
+ }
277
+#endif
278
279
inline llvm::Constant* CreateExtractValue(llvm::Constant* Agg,
280
llvm::ArrayRef<unsigned> IdxList) const {
0 commit comments