mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Make GlobalValue alignment consistent with load, store, and alloca
alignment, fixing silent truncation of alignment values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
; RUN: llvm-as %s -o /dev/null
|
||||
|
||||
@A = global i1 0, align 536870912
|
||||
|
||||
define void @foo() {
|
||||
%p = alloca i1, align 536870912
|
||||
load i1* %p, align 536870912
|
||||
|
Reference in New Issue
Block a user