1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Assembler/invalid-datalayout23.ll
Owen Anderson e464d46ff1 Teach DataLayout that alignments on basic types must be powers of two.
Fixes assertion failures/crashes on bad datalayout specifications.

llvm-svn: 230940
2015-03-02 09:35:03 +00:00

7 lines
132 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
target datalayout = "i32:24:32"
; CHECK: Invalid ABI alignment, must be a power of 2