mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
138aa2a82b
alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109643 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
125 B
LLVM
7 lines
125 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>/dev/null
|
|
|
|
define void @foo() {
|
|
store i1 false, i1* %p, align 1073741824
|
|
ret void
|
|
}
|