diff options
author | Eric Christopher <echristo@apple.com> | 2012-02-15 18:32:25 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-02-15 18:32:25 +0000 |
commit | eddd6abdde2c66743e2bc3fe8996aa38d0e77b80 (patch) | |
tree | 262dc467d7951b0deac6ad386802720177cc6073 /lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | |
parent | a997b3e51a9739447dfdbe1ba5f7743a1f5082af (diff) | |
download | llvm-eddd6abdde2c66743e2bc3fe8996aa38d0e77b80.tar.gz llvm-eddd6abdde2c66743e2bc3fe8996aa38d0e77b80.tar.bz2 llvm-eddd6abdde2c66743e2bc3fe8996aa38d0e77b80.tar.xz |
Revert "Optimize redundant sign extends and negation of predicates"
as it's breaking the build.
This reverts commit 11241abca5e2a313412fed594bb9d9fa2a2057fb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp b/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp index 086f9bc926..0bbb2d2f66 100644 --- a/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp +++ b/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp @@ -238,7 +238,7 @@ static unsigned doesIntrinsicContainPredicate(unsigned ID) case Intrinsic::hexagon_C2_or: return Hexagon::OR_pp; case Intrinsic::hexagon_C2_not: - return Hexagon::NOT_p; + return Hexagon::NOT_pp; case Intrinsic::hexagon_C2_any8: return Hexagon::ANY_pp; case Intrinsic::hexagon_C2_all8: @@ -1178,7 +1178,7 @@ SDNode *HexagonDAGToDAGISel::SelectConstant(SDNode *N) { SDValue(IntRegTFR, 0)); // not(Pd) - SDNode* NotPd = CurDAG->getMachineNode(Hexagon::NOT_p, dl, MVT::i1, + SDNode* NotPd = CurDAG->getMachineNode(Hexagon::NOT_pp, dl, MVT::i1, SDValue(Pd, 0)); // xor(not(Pd)) |