OSDN Git Service

[DAGCombine][NFC] GatherAllAliases should take a LSBaseSDNode.
authorClement Courbet <courbet@google.com>
Wed, 6 Feb 2019 12:36:17 +0000 (12:36 +0000)
committerClement Courbet <courbet@google.com>
Wed, 6 Feb 2019 12:36:17 +0000 (12:36 +0000)
commit5c9002a0e5217be6018f5461e329148b4a15e617
tree1f811fca618ecbf049408a314242af8106cd2b25
parent0e12e35d6c4647fc6de4c62c4d9013392f386adf
[DAGCombine][NFC] GatherAllAliases should take a LSBaseSDNode.

GatherAllAliases only makes sense for LSBaseSDNode. Enforce it with
static typing instead of runtime cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp