[llvm] r238949 - [Hexagon] Test doesn't work on all platforms. At any rate the uninitialized variable issue was fixed. Removing re-registering ASM backend.

Colin LeMahieu colinl at codeaurora.org
Wed Jun 3 11:00:45 PDT 2015


Author: colinl
Date: Wed Jun  3 13:00:45 2015
New Revision: 238949

URL: http://llvm.org/viewvc/llvm-project?rev=238949&view=rev
Log:
[Hexagon] Test doesn't work on all platforms.  At any rate the uninitialized variable issue was fixed.  Removing re-registering ASM backend.

Removed:
    llvm/trunk/test/CodeGen/Hexagon/empty_elf.ll
Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp?rev=238949&r1=238948&r2=238949&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp Wed Jun  3 13:00:45 2015
@@ -119,8 +119,4 @@ extern "C" void LLVMInitializeHexagonTar
   // Register the MC Inst Printer
   TargetRegistry::RegisterMCInstPrinter(TheHexagonTarget,
                                         createHexagonMCInstPrinter);
-
-  // Register the asm backend
-  TargetRegistry::RegisterMCAsmBackend(TheHexagonTarget,
-                                       createHexagonAsmBackend);
 }

Removed: llvm/trunk/test/CodeGen/Hexagon/empty_elf.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/empty_elf.ll?rev=238948&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/empty_elf.ll (original)
+++ llvm/trunk/test/CodeGen/Hexagon/empty_elf.ll (removed)
@@ -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
-}
-





More information about the llvm-commits mailing list