Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-constant-pool.ll.expected

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse4.2 | FileCheck %s --check-prefixes=ELF
3 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+sse4.2 | FileCheck %s --check-prefixes=DARWIN
4
5 define <4 x i32> @test(<4 x i32> %a) nounwind {
6 ; ELF-LABEL: test:
7 ; ELF: # %bb.0:
8 ; ELF-NEXT: andnps {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0
9 ; ELF-NEXT: retq
10 ;
11 ; DARWIN-LABEL: test:
12 ; DARWIN: ## %bb.0:
13 ; DARWIN-NEXT: andnps {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0
14 ; DARWIN-NEXT: retq
15 %1 = and <4 x i32> %a, <i32 4096, i32 4096, i32 4096, i32 4096>
16 %2 = xor <4 x i32> %1, <i32 4096, i32 4096, i32 4096, i32 4096>
17 ret <4 x i32> %2
18 }