Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -0,0 +1,11 @@
+// RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fno-PIE -S -Xclang
-emit-cir %s -o %t1.cir
+// RUN: FileCheck --input-file=%t1.cir %s -check-prefix=CIR
+// RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fno-PIE -S -Xclang
-emit-llvm %s -o %t1.ll
+// RUN: FileCheck --input-file=%t1.ll %s -check-prefix=LLVM
+
+extern int var;
+int get() {
+ return var;
+}
+// CIR: cir.global "private" external dso_local @var : !s32i {alignment = 4 :
i64}
----------------
AmrDeveloper wrote:
```suggestion
// CIR: cir.global "private" external dso_local @var : !s32i
```
https://github.com/llvm/llvm-project/pull/157333
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits