mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
939744be5f
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. llvm-svn: 109643
7 lines
114 B
LLVM
7 lines
114 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>/dev/null
|
|
|
|
define void @foo() {
|
|
load i1* %p, align 1073741824
|
|
ret void
|
|
}
|