llvm-project/llvm/test/Assembler/invalid-datalayout-override.ll
Sergei Barannikov c91cc459d3
[DataLayout] Refactor the rest of parseSpecification (#104545)
The aim is to improve test coverage of data layout string parsing.

Pull Request: https://github.com/llvm/llvm-project/pull/104545
2024-08-20 11:25:49 +03:00

8 lines
382 B
LLVM

; Check that importing this file gives an error due to the broken data layout:
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; Check that specifying a valid data layout allows to import this file:
; RUN: llvm-as -data-layout "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" < %s
target datalayout = "A16777216"
; CHECK: address space must be a 24-bit integer