[Hexagon] Improve test to check for @PCREL, only run llc, not opt -> llc.

llvm-svn: 278796
This commit is contained in:
Ron Lieberman 2016-08-16 13:10:09 +00:00
parent e311740bde
commit a481c7db93
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
; RUN: opt -relocation-model pic -march=hexagon -mcpu=hexagonv60 -O2 -S < %s | llc -march=hexagon -mcpu=hexagonv60 -relocation-model pic
; RUN: llc -march=hexagon -mcpu=hexagonv60 -relocation-model pic < %s | FileCheck %s
; CHECK: jumpr
; CHECK: @PCREL
target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
target triple = "hexagon-unknown--elf"