mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-06 04:19:10 +00:00
[Hexagon] Fix typo in HexagonEarlyIfCConv.cpp
Found by PVS-Studio. Fixes llvm.org/PR32480. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2215b7d1b2
commit
8b1380a009
@ -546,7 +546,7 @@ bool HexagonEarlyIfConversion::isProfitable(const FlowPattern &FP) const {
|
||||
if (FP.FalseB) {
|
||||
FS = std::distance(FP.FalseB->begin(), FP.FalseB->getFirstTerminator());
|
||||
if (FS < HEXAGON_PACKET_SIZE)
|
||||
Spare += HEXAGON_PACKET_SIZE-TS;
|
||||
Spare += HEXAGON_PACKET_SIZE-FS;
|
||||
}
|
||||
unsigned TotalIn = TS+FS;
|
||||
DEBUG(dbgs() << "Total number of instructions to be predicated/speculated: "
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=hexagon -o - %s | FileCheck %s
|
||||
; RUN: llc -march=hexagon -hexagon-eif=0 < %s | FileCheck %s
|
||||
target triple = "hexagon"
|
||||
|
||||
%struct.0 = type { i16, i16 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user