Changeset View
Changeset View
Standalone View
Standalone View
test/Transforms/LoopVectorize/runtime-check-address-space.ll
; RUN: opt -S -march=r600 -mcpu=cayman -loop-vectorize -force-vector-unroll=1 -force-vector-width=4 -dce -instcombine < %s | FileCheck %s | ; RUN: opt -S -march=r600 -mcpu=cayman -basicaa -loop-vectorize -force-vector-unroll=1 -force-vector-width=4 -dce -instcombine < %s | FileCheck %s | ||||
; Check vectorization that would ordinarily require a runtime bounds | ; Check vectorization that would ordinarily require a runtime bounds | ||||
; check on the pointers when mixing address spaces. For now we cannot | ; check on the pointers when mixing address spaces. For now we cannot | ||||
; assume address spaces do not alias, and we can't assume that | ; assume address spaces do not alias, and we can't assume that | ||||
; different pointers are directly comparable. | ; different pointers are directly comparable. | ||||
; | ; | ||||
; These all test this basic loop for different combinations of address | ; These all test this basic loop for different combinations of address | ||||
; spaces, and swapping in globals or adding noalias. | ; spaces, and swapping in globals or adding noalias. | ||||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |