[llvm] r351956 - [Hexagon] Remove incorrect bit negation
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 23 07:36:33 PST 2019
Author: kparzysz
Date: Wed Jan 23 07:36:33 2019
New Revision: 351956
URL: http://llvm.org/viewvc/llvm-project?rev=351956&view=rev
Log:
[Hexagon] Remove incorrect bit negation
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp?rev=351956&r1=351955&r2=351956&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp Wed Jan 23 07:36:33 2019
@@ -2424,7 +2424,7 @@ bool HexagonInstrInfo::isPredicated(unsi
bool HexagonInstrInfo::isPredicateLate(unsigned Opcode) const {
const uint64_t F = get(Opcode).TSFlags;
- return ~(F >> HexagonII::PredicateLatePos) & HexagonII::PredicateLateMask;
+ return (F >> HexagonII::PredicateLatePos) & HexagonII::PredicateLateMask;
}
bool HexagonInstrInfo::isPredictedTaken(unsigned Opcode) const {
More information about the llvm-commits
mailing list