From c4ba62ca1d53b90a9ff1efce025f8e5d7dd91ca9 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 19 Sep 2012 09:25:03 +0000 Subject: [PATCH] Move load_to_switch.ll to test/CodeGen/SPARC/ Because the test invokes llc -march=sparc, it needs to be in a directory which is only run when the sparc target is built. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164211 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../CodeGenPrepare => CodeGen/SPARC}/load_to_switch.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test/{Transforms/CodeGenPrepare => CodeGen/SPARC}/load_to_switch.ll (98%) diff --git a/test/Transforms/CodeGenPrepare/load_to_switch.ll b/test/CodeGen/SPARC/load_to_switch.ll similarity index 98% rename from test/Transforms/CodeGenPrepare/load_to_switch.ll rename to test/CodeGen/SPARC/load_to_switch.ll index 76a57c6b50e..8d62de527e4 100644 --- a/test/Transforms/CodeGenPrepare/load_to_switch.ll +++ b/test/CodeGen/SPARC/load_to_switch.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=sparc < %s | FileCheck %s +; RUN: llc -march=sparc < %s | FileCheck %s ; Check that all the switches turned into lookup tables by SimplifyCFG are ; turned back into switches for targets that don't like lookup tables.