projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5357dd2
)
[NFC] fix warning
author
Chen Zheng
<czhengsz@cn.ibm.com>
Tue, 9 Aug 2022 04:18:09 +0000
(
00:18
-0400)
committer
Chen Zheng
<czhengsz@cn.ibm.com>
Tue, 9 Aug 2022 04:22:01 +0000
(
00:22
-0400)
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
index
cb0519c
..
f0c6e83
100644
(file)
--- a/
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
+++ b/
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
@@
-313,6
+313,8
@@
void PPCCTRLoops::expandCTRLoops(MachineLoop *ML, MachineInstr *Start,
MachineBasicBlock *Preheader = Start->getParent();
MachineBasicBlock *Exiting = Dec->getParent();
+
+ (void)Preheader;
assert((Preheader && Exiting) &&
"Preheader and exiting should exist for CTR loop!");