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:
49d2232
)
[NFC] Instruction::isIdenticalToWhenDefined(): s/nessesairly/necessarily/
author
Roman Lebedev
<lebedev.ri@gmail.com>
Sat, 29 Aug 2020 11:53:15 +0000
(14:53 +0300)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Sat, 29 Aug 2020 12:10:13 +0000
(15:10 +0300)
llvm/lib/IR/Instruction.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/Instruction.cpp
b/llvm/lib/IR/Instruction.cpp
index
f091425
..
e1472a7
100644
(file)
--- a/
llvm/lib/IR/Instruction.cpp
+++ b/
llvm/lib/IR/Instruction.cpp
@@
-486,7
+486,7
@@
bool Instruction::isIdenticalToWhenDefined(const Instruction *I) const {
// PHI nodes are special.
if (const PHINode *thisPHI = dyn_cast<PHINode>(this)) {
const PHINode *otherPHI = cast<PHINode>(I);
- // PHI nodes don't ne
ssesair
ly have their operands in the same order,
+ // PHI nodes don't ne
cessari
ly have their operands in the same order,
// so we shouldn't just compare ranges of incoming blocks/values.
// If both PHI's are in the same basic block, which is the most interesting