mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
6fbbb7b6b8
MaybeAlignment asserts that the passed in value is == 0 or a power of 2. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16272 Reviewers: michaelplatings, gchatelet, jakehehrlich, jfb Reviewed By: gchatelet Tags: #llvm Differential Revision: https://reviews.llvm.org/D65858 llvm-svn: 368191
6 lines
132 B
LLVM
6 lines
132 B
LLVM
; RUN: not llvm-as %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: LLVM ERROR: Alignment is neither 0 nor a power of 2
|
|
|
|
target datalayout = "Fi24"
|