summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-05-31 22:18:45 +0000
committerCraig Topper <craig.topper@intel.com>2019-05-31 22:18:45 +0000
commitbc9e04d0c38844c75f736728be4d95dd24080714 (patch)
tree20c77ab596127afc5c9052b4d581b1ac51114eb8 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
parente8ee5b93511e0e16a097beddc9abf176f36a2237 (diff)
downloadbcm5719-llvm-bc9e04d0c38844c75f736728be4d95dd24080714.tar.gz
bcm5719-llvm-bc9e04d0c38844c75f736728be4d95dd24080714.zip
[SelectionDAG] Make the code in mutateStrictFPToFP less aware of how many operands each node has. NFCI
Just copy all of the operands except the chain and call MorphNode on that. This removes the IsUnary and IsTernary flags. Also always get the result type from the result type of the original nodes. Previously we got it from the operand except for two nodes where that didn't work. llvm-svn: 362269
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud