1 ; RUN: opt -mtriple=nvptx64-nvidia-cuda -passes=load-store-vectorizer -S -o - %s | FileCheck %s
3 ; We don't need to vectorize this. Just make sure it doesn't crash.
5 ; CHECK-LABEL: @int24x2
10 define void @int24x2(ptr nocapture align 4 %ptr) {
11 %ptr0 = getelementptr i24, ptr %ptr, i64 0
12 %ptr1 = getelementptr i24, ptr %ptr, i64 1
14 %l0 = load i24, ptr %ptr0, align 4
15 %l1 = load i24, ptr %ptr1, align 1
17 store i24 %l1, ptr %ptr0, align 4
18 store i24 %l0, ptr %ptr1, align 1