21 lines · plain
1; REQUIRES: x862; RUN: llvm-as %s -o %t.bc3; RUN: not %lld %t.bc -o /dev/null 2>&1 | FileCheck %s --check-prefix=REGULAR4 5;; For regular LTO, the original module name is lost.6; REGULAR: error: <inline asm>:2:1: invalid instruction mnemonic 'invalid'7 8; RUN: not opt -module-summary %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=THIN9 10; THIN: error: <inline asm>:2:1: invalid instruction mnemonic 'invalid'11 12target triple = "x86_64-apple-macosx10.15.0"13target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"14 15module asm ".text"16module asm "invalid"17 18define void @main() {19 ret void20}21