aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-05-27 01:20:30 -0700
committerCraig Topper <craig.topper@gmail.com>2020-05-27 01:32:13 -0700
commita1dfd6d828ac4f8e11e8013b952f0ef080890dcf (patch)
tree2490d5111bdc6b4aaebff2af328f3f05a02ddf5d /llvm/lib/Transforms/Utils/Debugify.cpp
parentdedaf3a2ac59548c70a0d54da7267bbb082782c0 (diff)
downloadllvm-a1dfd6d828ac4f8e11e8013b952f0ef080890dcf.zip
llvm-a1dfd6d828ac4f8e11e8013b952f0ef080890dcf.tar.gz
llvm-a1dfd6d828ac4f8e11e8013b952f0ef080890dcf.tar.bz2
[X86] Add helper function to reduce some code duplication when shrinking a vector load to a vzext_load.
There's more code for calling CombineTo and replacing the nodes that I'd like to share, but its complicated by the getNode call in the middle that needs to be specific to each opcode. While there are also make sure we recursively delete the load we're replacing. It eventually gets removed by a RemoveDeadNodes call at the end of DAG combine, but we should be more eager about it. We were inconsistently doing this in some places but not all.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions