[clang] [Clang][CodeGen] Start migrating away from assuming the Default AS is 0 (PR #88182)

Alexander Richardson via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 10:19:43 PDT 2024


================
@@ -0,0 +1,24 @@
+// RUN: %clang_cc1 -I%S %s -triple spirv64-unknown-unknown -fsycl-is-device -emit-llvm -fcxx-exceptions -fexceptions -o - | FileCheck %s
+struct A { virtual void f(); };
+struct B : A { };
+
+// CHECK: {{define.*@_Z1fP1A}}
+// CHECK-SAME:  personality ptr @__gxx_personality_v0
+B fail;
----------------
arichardson wrote:

This adds a third copy of the same test, can we just merge them add add three RUN lines with different CHECK prefixes?

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


More information about the cfe-commits mailing list