brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · 0d16b34 Raw
18 lines · plain
1; REQUIRES: asserts2; RUN: opt -aa-pipeline=default -passes='require<aa>' -debug-pass-manager -disable-output -S < %s 2>&1 | FileCheck %s3; RUN: llc --debug-only='aa' -o /dev/null %s 2>&1 | FileCheck %s -check-prefix=LEGACY4 5; In default AA pipeline, NVPTXAA should run before BasicAA to reduce compile time for NVPTX backend6target triple = "nvptx64-nvidia-cuda"7 8; CHECK: Running analysis: NVPTXAA on foo9; CHECK-NEXT: Running analysis: BasicAA on foo10 11; LEGACY: AAResults register Early ExternalAA: NVPTX Address space based Alias Analysis Wrapper12; LEGACY-NEXT: AAResults register BasicAA13define void @foo(){14entry:15  ret void16}17 18