mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 18:42:36 +00:00
fix typos; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45cace0d9a
commit
952fa5f82c
@ -1628,8 +1628,8 @@ SDValue DAGCombiner::visitMERGE_VALUES(SDNode *N) {
|
||||
return SDValue(N, 0); // Return N so it doesn't get rechecked!
|
||||
}
|
||||
|
||||
/// If \p N is a ContantSDNode with isOpaque() == false return it casted to a
|
||||
/// ContantSDNode pointer else nullptr.
|
||||
/// If \p N is a ConstantSDNode with isOpaque() == false return it casted to a
|
||||
/// ConstantSDNode pointer else nullptr.
|
||||
static ConstantSDNode *getAsNonOpaqueConstant(SDValue N) {
|
||||
ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N);
|
||||
return Const != nullptr && !Const->isOpaque() ? Const : nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user