[llvm] 7667717 - [X86] Fix i8 alignment in datalayout of lit test
Jannik Silvanus via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 06:53:05 PST 2023
Author: Jannik Silvanus
Date: 2023-01-20T15:52:07+01:00
New Revision: 76677173ec81fcb6a7eeda4a0647d0ce931d5acb
URL: https://github.com/llvm/llvm-project/commit/76677173ec81fcb6a7eeda4a0647d0ce931d5acb
DIFF: https://github.com/llvm/llvm-project/commit/76677173ec81fcb6a7eeda4a0647d0ce931d5acb.diff
LOG: [X86] Fix i8 alignment in datalayout of lit test
A lit test used overaligned i8, apparently due to an old copy-paste
error, intending to specify i32 alignment.
Change the datalayout string to use naturally aligned i8.
Added:
Modified:
llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll b/llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
index 43901c0ee024..99102958bf01 100644
--- a/llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
+++ b/llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
@@ -1,7 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mcpu=corei7 | FileCheck %s
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i8:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%union.anon = type { <2 x i8> }
More information about the llvm-commits
mailing list