aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/vector-ext-load.ll
blob: bbe6770e221d0770116372bf64bebde461d6b658 (plain)
1
2
3
4
5
6
7
8
9
10
; A copy of 2012-06-08-APIntCrash.ll with arch explicitly set to hexagon.

; RUN: llc -mtriple=hexagon < %s

define void @test1(ptr %ptr) {
  %1 = load <8 x i32>, ptr %ptr, align 32
  %2 = and <8 x i32> %1, <i32 0, i32 0, i32 0, i32 -1, i32 0, i32 0, i32 0, i32 -1>
  store <8 x i32> %2, ptr %ptr, align 16
  ret void
}