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

Alexander Richardson llvmlistbot at llvm.org
Tue May 14 10:58:10 PDT 2024


================
@@ -23,8 +26,8 @@ struct B : A {
 void g(A *a) { a->foo(); }
 
 // CHECK1-LABEL: define{{.*}} void @_ZN5test14fooAEv()
-// CHECK1: call void @_ZN5test11AC1Ev(ptr
-// CHECK1: %[[VTABLE:.*]] = load ptr addrspace(1), ptr %{{.*}}
+// CHECK1: call{{.*}} void @_ZN5test11AC1Ev(ptr {{((addrspace(4)){0,1})}}
----------------
arichardson wrote:

I'd say this is probably fine for now, but these tests should be deduplicated and cleaned up in a follow-up.

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


More information about the Mlir-commits mailing list