brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 4f07c81 Raw
19 lines · plain
1; Report error when pass requires TargetMachine.2; RUN: not opt -passes=atomic-expand -disable-output %s 2>&1 | FileCheck %s3; RUN: not opt -passes=codegenprepare -disable-output %s 2>&1 | FileCheck %s4; RUN: not opt -passes=complex-deinterleaving -disable-output %s 2>&1 | FileCheck %s5; RUN: not opt -passes=dwarf-eh-prepare -disable-output %s 2>&1 | FileCheck %s6; RUN: not opt -passes=expand-large-div-rem -disable-output %s 2>&1 | FileCheck %s7; RUN: not opt -passes=expand-memcmp -disable-output %s 2>&1 | FileCheck %s8; RUN: not opt -passes=indirectbr-expand -disable-output %s 2>&1 | FileCheck %s9; RUN: not opt -passes=interleaved-access -disable-output %s 2>&1 | FileCheck %s10; RUN: not opt -passes=interleaved-load-combine -disable-output %s 2>&1 | FileCheck %s11; RUN: not opt -passes=safe-stack -disable-output %s 2>&1 | FileCheck %s12; RUN: not opt -passes=select-optimize -disable-output %s 2>&1 | FileCheck %s13; RUN: not opt -passes=stack-protector -disable-output %s 2>&1 | FileCheck %s14; RUN: not opt -passes=typepromotion -disable-output %s 2>&1 | FileCheck %s15; RUN: not opt -passes='expand-fp<O1>' -disable-output %s 2>&1 | FileCheck %s16define void @foo() { ret void }17; CHECK: pass '{{.+}}' requires TargetMachine18;requires TargetMachine19