comparison test/CodeGen/Hexagon/block-addr.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children c2174574ed3a
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
1 ; RUN: llc -march=hexagon < %s | FileCheck %s 1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 2
3 ; CHECK: .LJTI 3 ; CHECK-DAG: r[[REG:[0-9]+]] = memw(r{{[0-9]+<<#[0-9]+}}+##.LJTI{{.*}})
4 ; CHECK-DAG: r[[REG:[0-9]+]] = memw(r{{[0-9]+}}{{ *}}+{{ *}}r{{[0-9]+<<#[0-9]+}}) 4 ; CHECK-DAG: jumpr r[[REG]]
5 ; CHECK-DAG: jumpr:nt r[[REG]]
6 5
7 define void @main() #0 { 6 define void @main() #0 {
8 entry: 7 entry:
9 %ret = alloca i32, align 4 8 %ret = alloca i32, align 4
10 br label %while.body 9 br label %while.body