llvm-6502/test/Assembler/invalid-datalayout23.ll
Owen Anderson 8fae2845b1 Teach DataLayout that alignments on basic types must be powers of two.
Fixes assertion failures/crashes on bad datalayout specifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230940 91177308-0d34-0410-b5e6-96231b3b80d8
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