arsenm added inline comments.

================
Comment at: clang/test/CodeGenHIP/printf_nonhostcall.cpp:170-171
+// CHECK-NEXT:    [[PRINTBUFFNEXTPTR5:%.*]] = getelementptr i8, ptr 
addrspace(1) [[PRINTBUFFNEXTPTR4]], i32 8
+// CHECK-NEXT:    [[TMP13:%.*]] = bitcast double [[TMP4]] to i64
+// CHECK-NEXT:    store i64 [[TMP13]], ptr addrspace(1) [[PRINTBUFFNEXTPTR5]], 
align 8
+// CHECK-NEXT:    [[PRINTBUFFNEXTPTR6:%.*]] = getelementptr i8, ptr 
addrspace(1) [[PRINTBUFFNEXTPTR5]], i32 8
----------------
Just store the double, don't need the bitcast?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150427/new/

https://reviews.llvm.org/D150427

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to