brintos

brintos / llvm-project-archived public Read only

0
0
Text · 441 B · 84e365f Raw
10 lines · plain
1// RUN: not llvm-tblgen -gen-intrinsic-enums -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s2 3include "llvm/IR/Intrinsics.td"4 5// Check that target independent intrinsics with a prefix that matches a target6// name are flagged.7// CHECK: [[FILE]]:[[@LINE+1]]:5: error: target independent intrinsic `llvm.aarch64.foo' has prefix `llvm.aarch64` that conflicts with intrinsics for target `aarch64`8def int_aarch64_foo : Intrinsic<[],[]>;9 10