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:
00a1c6d
)
[NFCI][SROA] `rewriteSelectInstLoads()`: add forgotten false into assertion
author
Roman Lebedev
<lebedev.ri@gmail.com>
Thu, 8 Dec 2022 16:40:35 +0000
(19:40 +0300)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Thu, 8 Dec 2022 16:40:35 +0000
(19:40 +0300)
llvm/lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/SROA.cpp
b/llvm/lib/Transforms/Scalar/SROA.cpp
index
07bcddc
..
5c8ba6d
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/
llvm/lib/Transforms/Scalar/SROA.cpp
@@
-1484,7
+1484,7
@@
static bool rewriteSelectInstLoads(SelectInst &SI,
if (Spec.areAllSpeculatable()) {
speculateSelectInstLoads(SI, *LI, IRB);
} else {
- assert(
"Should not get here when not allowed to modify the CFG!
");
+ assert(
false && "Should not get here when not allowed to modify the CFG
");
rewriteLoadOfSelect(SI, *LI, Spec, *DTU);
CFGChanged = true;
}