From 0a999e4d3a20c68057104d2b09a757e656fca6d0 Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Wed, 3 Jun 2015 18:00:45 +0000 Subject: [PATCH] [Hexagon] Test doesn't work on all platforms. At any rate the uninitialized variable issue was fixed. Removing re-registering ASM backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238949 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 4 ---- test/CodeGen/Hexagon/empty_elf.ll | 7 ------- 2 files changed, 11 deletions(-) delete mode 100644 test/CodeGen/Hexagon/empty_elf.ll diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp index 8181ff6500d..41ee8a155df 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp @@ -119,8 +119,4 @@ extern "C" void LLVMInitializeHexagonTargetMC() { // Register the MC Inst Printer TargetRegistry::RegisterMCInstPrinter(TheHexagonTarget, createHexagonMCInstPrinter); - - // Register the asm backend - TargetRegistry::RegisterMCAsmBackend(TheHexagonTarget, - createHexagonAsmBackend); } diff --git a/test/CodeGen/Hexagon/empty_elf.ll b/test/CodeGen/Hexagon/empty_elf.ll deleted file mode 100644 index d3cd11bcc44..00000000000 --- a/test/CodeGen/Hexagon/empty_elf.ll +++ /dev/null @@ -1,7 +0,0 @@ -; RUN: llc -march=hexagon -filetype=obj < %s | llvm-readobj -file-headers | FileCheck %s - -; CHECK: OS/ABI: SystemV (0x0) -define void @foo() { - ret void -} - -- 2.34.1