================
@@ -47,7 +47,19 @@ int main() {
// Make sure the following 3 are the same between the host and device
compile.
// Note that these are NOT the same value as each other, they differ by the
// signature.
- // CHECK: private unnamed_addr [[$ADDRSPACE]]constant [17 x i8]
c"_ZTSZ4mainEUlvE_\00"
- // CHECK: private unnamed_addr [[$ADDRSPACE]]constant [17 x i8]
c"_ZTSZ4mainEUliE_\00"
- // CHECK: private unnamed_addr [[$ADDRSPACE]]constant [17 x i8]
c"_ZTSZ4mainEUldE_\00"
+ // HOST: private unnamed_addr constant [17 x i8] c"_ZTSZ4mainEUlvE_\00"
+ // HOST: private unnamed_addr constant [17 x i8] c"_ZTSZ4mainEUliE_\00"
+ // HOST: private unnamed_addr constant [17 x i8] c"_ZTSZ4mainEUldE_\00"
----------------
zahiraam wrote:
Yes it does. And it generated the strings for both `device` and `host`
compilation. The test is hitting the change made in `SemaLabda.cpp`. Now the
context is non-null.
https://github.com/llvm/llvm-project/pull/159115
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits