1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Assembler/invalid-datalayout24.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
138 B
LLVM

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