Skip to content

release/21.x: Generalize test over 32 and 64bit targets#160680

Closed
llvmbot wants to merge 1 commit into
llvm:release/21.xfrom
llvmbot:issue160678
Closed

release/21.x: Generalize test over 32 and 64bit targets#160680
llvmbot wants to merge 1 commit into
llvm:release/21.xfrom
llvmbot:issue160678

Conversation

@llvmbot

@llvmbot llvmbot commented Sep 25, 2025

Copy link
Copy Markdown
Member

Backport 5b4819e

Requested by: @llvmbot

@llvmbot llvmbot added this to the LLVM 21.x Release milestone Sep 25, 2025
@github-project-automation github-project-automation Bot moved this to Needs Triage in LLVM Release Status Sep 25, 2025
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Sep 25, 2025
@llvmbot

llvmbot commented Sep 25, 2025

Copy link
Copy Markdown
Member Author

@llvm/pr-subscribers-clang

Author: None (llvmbot)

Changes

Backport 5b4819e

Requested by: @llvmbot


Full diff: https://github.com/llvm/llvm-project/pull/160680.diff

1 Files Affected:

  • (modified) clang/test/CodeGenCXX/debug-info-structured-binding.cpp (+1-1)
diff --git a/clang/test/CodeGenCXX/debug-info-structured-binding.cpp b/clang/test/CodeGenCXX/debug-info-structured-binding.cpp
index 4a4a4d8bdfaad..8032ce85c9e25 100644
--- a/clang/test/CodeGenCXX/debug-info-structured-binding.cpp
+++ b/clang/test/CodeGenCXX/debug-info-structured-binding.cpp
@@ -10,7 +10,7 @@
 // CHECK: getelementptr inbounds nuw %struct.A, ptr {{.*}}, i32 0, i32 1, !dbg ![[Y1_DEBUG_LOC:[0-9]+]]
 // CHECK: getelementptr inbounds nuw %struct.A, ptr {{.*}}, i32 0, i32 1, !dbg ![[Y2_DEBUG_LOC:[0-9]+]]
 // CHECK: load ptr, ptr %z2, {{.*}}!dbg ![[Z2_DEBUG_LOC:[0-9]+]]
-// CHECK: getelementptr inbounds [2 x i32], ptr {{.*}}, i64 0, i64 1, !dbg ![[A2_DEBUG_LOC:[0-9]+]]
+// CHECK: getelementptr inbounds [2 x i32], ptr {{.*}}, i{{64|32}} 0, i{{64|32}} 1, !dbg ![[A2_DEBUG_LOC:[0-9]+]]
 // CHECK: getelementptr inbounds nuw { i32, i32 }, ptr {{.*}}, i32 0, i32 1, !dbg ![[C2_DEBUG_LOC:[0-9]+]]
 // CHECK: extractelement <2 x i32> {{.*}}, i32 1, !dbg ![[V2_DEBUG_LOC:[0-9]+]]
 // CHECK: ![[VAR_0]] = !DILocalVariable(name: "a"

@mgorny

mgorny commented Sep 25, 2025

Copy link
Copy Markdown
Member

Duplicate of #159209.

@mgorny mgorny closed this Sep 25, 2025
@dyung dyung moved this from Needs Triage to Done in LLVM Release Status Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

Development

Successfully merging this pull request may close these issues.

4 participants