diff options
| author | Jameson Nash <vtjnash@gmail.com> | 2026-01-28 22:49:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-28 22:49:19 -0500 |
| commit | b7c1a6f8b447fba6fff47d309eb7ba1bc22e8c53 (patch) | |
| tree | 7d69cbd260d0c4d44c923a1b3b3f252f428d0f8f /llvm/test/Transforms/SafeStack/X86/debug-loc.ll | |
| parent | 218d0c2ed1b7c1ad6c8589e869f73aa6b3bdd60c (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
Remove getPrefTypeAlign calls and use only the alloca's explicit
alignment, since the type may not be semantically useful, there is no
useful reason to change alignment to support it.
The alloca's explicit alignment (from getAlign()) is already optimally
correct; we don't need to derive alignment from the allocated type.
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'llvm/test/Transforms/SafeStack/X86/debug-loc.ll')
| -rw-r--r-- | llvm/test/Transforms/SafeStack/X86/debug-loc.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SafeStack/X86/debug-loc.ll b/llvm/test/Transforms/SafeStack/X86/debug-loc.ll index 66a7d7b..5874547 100644 --- a/llvm/test/Transforms/SafeStack/X86/debug-loc.ll +++ b/llvm/test/Transforms/SafeStack/X86/debug-loc.ll @@ -23,7 +23,7 @@ entry: ; CHECK-NOT: #dbg_declare ; CHECK: #dbg_declare(ptr %[[USP]], ![[VAR_ARG:.*]], !DIExpression(DW_OP_constu, 104, DW_OP_minus), ; CHECK-NOT: #dbg_declare -; CHECK: #dbg_declare(ptr %[[USP]], ![[VAR_LOCAL:.*]], !DIExpression(DW_OP_constu, 208, DW_OP_minus), +; CHECK: #dbg_declare(ptr %[[USP]], ![[VAR_LOCAL:.*]], !DIExpression(DW_OP_constu, 204, DW_OP_minus), ; CHECK-NOT: #dbg_declare call void @Capture(ptr %zzz), !dbg !23 @@ -37,7 +37,6 @@ entry: } ; CHECK-DAG: ![[VAR_ARG]] = !DILocalVariable(name: "zzz" -; 100 aligned up to 8 ; CHECK-DAG: ![[VAR_LOCAL]] = !DILocalVariable(name: "xxx" |
