[clang] [clang][CodeGen] Return RValue from `EmitVAArg` (PR #94635)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 12 02:02:39 PDT 2024
================
@@ -102,12 +98,7 @@ char *test_ptr(char *fmt, ...) {
// N32: [[TMP2:%.+]] = load i64, ptr [[AP_CUR]], align 8
// N32: [[TMP3:%.+]] = trunc i64 [[TMP2]] to i32
// N32: [[PTR:%.+]] = inttoptr i32 [[TMP3]] to ptr
-// N32: store ptr [[PTR]], ptr [[AP_CAST]], align 4
-// N32: [[ARG:%.+]] = load ptr, ptr [[AP_CAST]], align [[$PTRALIGN]]
-//
-// O32: [[ARG:%.+]] = load ptr, ptr [[AP_CUR]], align [[$PTRALIGN]]
-// N64: [[ARG:%.+]] = load ptr, ptr [[AP_CUR]], align [[$PTRALIGN]]
-// ALL: store ptr [[ARG]], ptr [[V]], align [[$PTRALIGN]]
+// N32: store ptr [[PTR]], ptr [[V]], align 4
----------------
Fznamznon wrote:
I suppose now it does.
https://github.com/llvm/llvm-project/pull/94635
More information about the cfe-commits
mailing list