[clang] [HLSL] Fix move assignment of `this` (PR #108445)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 13:53:48 PDT 2024


================
@@ -43,3 +53,18 @@ void main() {
 // CHECK-NEXT:call void @llvm.memset.p0.i32(ptr align 4 %ref.tmp, i8 0, i32 8, i1 false)
 // CHECK-NEXT:call void @llvm.memcpy.p0.p0.i32(ptr align 4 %this1, ptr align 4 %ref.tmp, i32 8, i1 false)
 // CHECK-NEXT:%Second = getelementptr inbounds nuw %struct.Pair, ptr %this1, i32 0, i32 1
+
+// CHECK-LABEL:     define {{.*}}DoSilly
+// CHECK-NEXT:entry:
+
----------------
bogner wrote:

spurious newline

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


More information about the cfe-commits mailing list