Skip to content

Commit

Permalink
[Hexagon] Remove unused flag from subtarget and (non)corresponding test
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332365 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Krzysztof Parzyszek committed May 15, 2018
1 parent 1cc744a commit 7114241
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion lib/Target/Hexagon/Hexagon.td
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def FeatureReservedR19: SubtargetFeature<"reserved-r19", "ReservedR19",
//===----------------------------------------------------------------------===//

def UseMEMOPS : Predicate<"HST->useMemops()">;
def IEEERndNearV5T : Predicate<"HST->modeIEEERndNear()">;
def UseHVX64B : Predicate<"HST->useHVX64BOps()">,
AssemblerPredicate<"ExtensionHVX64B">;
def UseHVX128B : Predicate<"HST->useHVX128BOps()">,
Expand Down
5 changes: 0 additions & 5 deletions lib/Target/Hexagon/HexagonSubtarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ using namespace llvm;
#include "HexagonGenSubtargetInfo.inc"


static cl::opt<bool> EnableIEEERndNear("enable-hexagon-ieee-rnd-near",
cl::Hidden, cl::ZeroOrMore, cl::init(false),
cl::desc("Generate non-chopped conversion from fp to int."));

static cl::opt<bool> EnableBSBSched("enable-bsb-sched",
cl::Hidden, cl::ZeroOrMore, cl::init(true));

Expand Down Expand Up @@ -114,7 +110,6 @@ HexagonSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) {
UseHVX64BOps = false;
UseLongCalls = false;

ModeIEEERndNear = EnableIEEERndNear;
UseBSBScheduling = hasV60TOps() && EnableBSBSched;

ParseSubtargetFeatures(CPUString, FS);
Expand Down
2 changes: 0 additions & 2 deletions lib/Target/Hexagon/HexagonSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class HexagonSubtarget : public HexagonGenSubtargetInfo {

bool UseHVX64BOps = false;
bool UseHVX128BOps = false;
bool ModeIEEERndNear = false;

bool UseLongCalls = false;
bool UseMemops = false;
Expand Down Expand Up @@ -162,7 +161,6 @@ class HexagonSubtarget : public HexagonGenSubtargetInfo {
bool useNewValueStores() const { return UseNewValueStores; }
bool useSmallData() const { return UseSmallData; }

bool modeIEEERndNear() const { return ModeIEEERndNear; }
bool useHVXOps() const { return HexagonHVXVersion > Hexagon::ArchEnum::V4; }
bool useHVX128BOps() const { return useHVXOps() && UseHVX128BOps; }
bool useHVX64BOps() const { return useHVXOps() && UseHVX64BOps; }
Expand Down
26 changes: 0 additions & 26 deletions test/CodeGen/Hexagon/doubleconvert-ieee-rnd-near.ll

This file was deleted.

0 comments on commit 7114241

Please sign in to comment.