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:
6c38ffc
)
[NFC] Fix typo in comment
author
zhongyunde
<zhongyunde@huawei.com>
Wed, 16 Nov 2022 15:32:47 +0000
(23:32 +0800)
committer
zhongyunde
<zhongyunde@huawei.com>
Wed, 16 Nov 2022 15:35:53 +0000
(23:35 +0800)
Address comment in https://reviews.llvm.org/D137936
Differential Revision: https://reviews.llvm.org/D138124
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index
73be3b5
..
1d9b205
100644
(file)
--- a/
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-20605,7
+20605,7
@@
SDValue DAGCombiner::reduceBuildVecExtToExtBuildVec(SDNode *N) {
// Simplify (build_vec (trunc $1)
// (trunc (srl $1 half-width))
-// (trunc (srl $1 (2 * half-width)))
…
)
+// (trunc (srl $1 (2 * half-width))))
// to (bitcast $1)
SDValue DAGCombiner::reduceBuildVecTruncToBitCast(SDNode *N) {
assert(N->getOpcode() == ISD::BUILD_VECTOR && "Expected build vector");