brintos

brintos / llvm-project-archived public Read only

0
0
Text · 596 B · 9209a3d Raw
19 lines · plain
1; RUN: llc < %s -mtriple=i686-unknown-linux-gnu -mattr=+sse2 | FileCheck %s --check-prefixes=A,B,REDUNDANT2; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefixes=C,A,UNUSED3 4; prefix 'A' has conflicting outputs, while the REDUNDANT and UNUSED ones are5; unused6declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>)7 8define <2 x i64> @function_1() {9entry:10  %r = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> <i64 255, i64 -1>)11  ret <2 x i64> %r12}13 14define <2 x i64> @function_2() {15entry:16  %r = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> <i64 16, i64 -1>)17  ret <2 x i64> %r18}19