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 b89f17d commit b697240Copy full SHA for b697240
clang/test/CIR/CodeGen/builtin_printf.cpp
@@ -18,6 +18,8 @@ void func(char const * const str, int i) {
18
__builtin_printf("%s %d\n", str, i);
19
}
20
21
+// CIR: cir.func @printf(!cir.ptr<!s8i>, ...) -> !s32i
22
+
23
// CIR: cir.func @_Z4funcPKci(%[[arg0:.+]]: !cir.ptr<!s8i>{{.*}}, %[[arg1:.+]]: !s32i{{.*}}) {
24
// CIR: %[[str_ptr:.+]] = cir.alloca !cir.ptr<!s8i>, !cir.ptr<!cir.ptr<!s8i>>, ["str", init, const]
25
// CIR: %[[i_ptr:.+]] = cir.alloca !s32i, !cir.ptr<!s32i>, ["i", init]
0 commit comments