[clang] [CIR][NFC] Add TargetLowering pass (PR #179245)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 2 22:09:37 PST 2026


================
@@ -17,9 +17,9 @@ namespace cir {
 
 TargetLoweringInfo::~TargetLoweringInfo() = default;
 
-std::string
-TargetLoweringInfo::getLLVMSyncScope(cir::SyncScopeKind syncScope) const {
-  return ""; // default sync scope
+cir::SyncScopeKind
+TargetLoweringInfo::convertSyncScope(cir::SyncScopeKind syncScope) const {
+  return cir::SyncScopeKind::System;
 }
----------------
xlauko wrote:

This should probalby have NYI for other targets then x86? Or at least explanations why it narrows everything to System.

https://github.com/llvm/llvm-project/pull/179245


More information about the cfe-commits mailing list