1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Assembler/invalid-datalayout22.ll
Owen Anderson f1ccd9db94 Teach DataLayout that ABI alignments for non-aggregate types must be non-zero.
This manifested as assertions and/or crashes in later phases of optimization,
depending on the build configuration.

llvm-svn: 230939
2015-03-02 09:34:59 +00:00

7 lines
152 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
target datalayout = "v128:0:128"
; CHECK: ABI alignment specification must be >0 for non-aggregate types