• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt -mtriple=amdgcn-amd-amdhsa -load-store-vectorizer -S -o - %s | FileCheck %s
2
3; CHECK-LABEL: @no_implicit_float(
4; CHECK: store i32
5; CHECK: store i32
6; CHECK: store i32
7; CHECK: store i32
8define void @no_implicit_float(i32 addrspace(1)* %out) #0 {
9  %out.gep.1 = getelementptr i32, i32 addrspace(1)* %out, i32 1
10  %out.gep.2 = getelementptr i32, i32 addrspace(1)* %out, i32 2
11  %out.gep.3 = getelementptr i32, i32 addrspace(1)* %out, i32 3
12
13  store i32 123, i32 addrspace(1)* %out.gep.1
14  store i32 456, i32 addrspace(1)* %out.gep.2
15  store i32 333, i32 addrspace(1)* %out.gep.3
16  store i32 1234, i32 addrspace(1)* %out
17  ret void
18}
19
20attributes #0 = { nounwind noimplicitfloat }
21