diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-08-02 10:02:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-08-02 10:02:07 +0000 |
commit | 18066974d409ce05b376baebba1366490e49f078 (patch) | |
tree | d3df4f6ffbbcfd502eaae69cfe6f477c7c8c381b /llvm/lib/Target/X86/X86MCInstLower.cpp | |
parent | 9d5a8c281362ac1b2a5a571526e813bf13519e13 (diff) | |
download | bcm5719-llvm-18066974d409ce05b376baebba1366490e49f078.tar.gz bcm5719-llvm-18066974d409ce05b376baebba1366490e49f078.zip |
[SDAG] Refactor the code which deletes nodes in the DAG combiner to do
so using a single helper which adds operands back onto the worklist.
Several places didn't rigorously do this but a couple already did.
Factoring them together and doing it rigorously is important to delete
things recursively early on in the combiner and get a chance to see
accurate hasOneUse values. While no existing test cases change, an
upcoming patch to add DAG combining logic for PSHUFB requires this to
work correctly.
llvm-svn: 214623
Diffstat (limited to 'llvm/lib/Target/X86/X86MCInstLower.cpp')
0 files changed, 0 insertions, 0 deletions