Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/redundant-and-unmatching-prefixes.ll

raw
1 ; RUN: llc < %s -mtriple=i686-unknown-linux-gnu -mattr=+sse2 | FileCheck %s --check-prefixes=A,B,REDUNDANT
2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefixes=C,A,UNUSED
3
4 ; prefix 'A' has conflicting outputs, while the REDUNDANT and UNUSED ones are
5 ; unused
6 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>)
7
8 define <2 x i64> @function_1() {
9 entry:
10 %r = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> <i64 255, i64 -1>)
11 ret <2 x i64> %r
12 }
13
14 define <2 x i64> @function_2() {
15 entry:
16 %r = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> <i64 16, i64 -1>)
17 ret <2 x i64> %r
18 }