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

Ron Lieberman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 06:10:09 PDT 2016


Author: ronl
Date: Tue Aug 16 08:10:09 2016
New Revision: 278796

URL: http://llvm.org/viewvc/llvm-project?rev=278796&view=rev
Log:
[Hexagon] Improve test to check for @PCREL, only run llc, not opt -> llc.

Modified:
    llvm/trunk/test/CodeGen/Hexagon/const-pool-tf.ll

Modified: llvm/trunk/test/CodeGen/Hexagon/const-pool-tf.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/const-pool-tf.ll?rev=278796&r1=278795&r2=278796&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/const-pool-tf.ll (original)
+++ llvm/trunk/test/CodeGen/Hexagon/const-pool-tf.ll Tue Aug 16 08:10:09 2016
@@ -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"




More information about the llvm-commits mailing list