From 12d1e53db88a9d68f75b6ff42b59669c7adec7b1 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 28 Feb 2015 10:04:18 +0000 Subject: [PATCH] Remove option.ll as part of the Forward Control Flow Integrity removal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230844 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/option.ll | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 test/tools/gold/option.ll diff --git a/test/tools/gold/option.ll b/test/tools/gold/option.ll deleted file mode 100644 index 59e3f1ee4aa..00000000000 --- a/test/tools/gold/option.ll +++ /dev/null @@ -1,39 +0,0 @@ -; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -m elf_x86_64 \ -; RUN: --plugin-opt=-jump-table-type=arity \ -; RUN: --plugin-opt=-mattr=+aes \ -; RUN: --plugin-opt=mcpu=core-avx2 \ -; RUN: -shared %t.o -o %t2.o -; RUN: llvm-nm %t2.o | FileCheck %s - -; CHECK: t __llvm_jump_instr_table_0_1 -; CHECK: t __llvm_jump_instr_table_1_1 - -target triple = "x86_64-unknown-linux-gnu" -define i32 @g(i32 %a) unnamed_addr jumptable { - ret i32 %a -} - -define i32 (i32)* @get_g() { - ret i32 (i32)* @g -} - -define i32 @f() unnamed_addr jumptable { - ret i32 0 -} - -define i32 ()* @get_f() { - ret i32 ()* @f -} - -define <2 x i64> @test_aes(<2 x i64> %a0, <2 x i64> %a1) { - %res = call <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64> %a0, <2 x i64> %a1) - ret <2 x i64> %res -} -declare <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64>, <2 x i64>) nounwind readnone - -define <32 x i8> @test_avx2(<16 x i16> %a0, <16 x i16> %a1) { - %res = call <32 x i8> @llvm.x86.avx2.packuswb(<16 x i16> %a0, <16 x i16> %a1) - ret <32 x i8> %res -} -declare <32 x i8> @llvm.x86.avx2.packuswb(<16 x i16>, <16 x i16>) nounwind readnone