================ @@ -212,6 +212,7 @@ MDNode *MetadataBuilder::BuildStaticSampler(const StaticSampler &Sampler) { ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)), ConstantAsMetadata::get( Builder.getInt32(to_underlying(Sampler.Visibility))), + ConstantAsMetadata::get(Builder.getInt32(0)), ---------------- joaosaffran wrote:
Yeah, this is just a temporary fix, I've a follow up PR focused on the frontend changes. I need to add this here, otherwise metadata generation will Fail. Maybe instead of hard coding I can add the flags to StaticSamplers and set them to be None, as this is the default anyway https://github.com/llvm/llvm-project/pull/160210 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits