Krzysztof Parzyszek | 0f791f4 | 2016-05-13 18:48:15 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon < %s | FileCheck %s |
| 2 | ; CHECK: = memw{{.*}}circ |
| 3 | |
| 4 | target triple = "hexagon" |
| 5 | |
| 6 | @l = external global i32, align 4 |
| 7 | |
| 8 | ; Function Attrs: nounwind optsize |
| 9 | define void @circ2() #0 { |
| 10 | entry: |
| 11 | store i32 0, i32* @l, align 4 |
| 12 | %0 = tail call i8* @llvm.hexagon.circ.ldw(i8* undef, i8* undef, i32 150995968, i32 4) |
| 13 | unreachable |
| 14 | } |
| 15 | |
| 16 | declare i8* @llvm.hexagon.circ.ldw(i8*, i8*, i32, i32) #1 |
| 17 | attributes #0 = { nounwind optsize } |
| 18 | attributes #1 = { argmemonly nounwind } |