diff options
author | Craig Topper <craig.topper@gmail.com> | 2019-12-02 22:50:59 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2019-12-02 23:07:39 -0800 |
commit | f92000187e149a51900c05056ed644f43603fb66 (patch) | |
tree | 50b71560a7880847b30860186102e5c37c10a830 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 4cde2d6b8db6257739c44d339a1677934b154704 (diff) | |
download | bcm5719-llvm-f92000187e149a51900c05056ed644f43603fb66.tar.gz bcm5719-llvm-f92000187e149a51900c05056ed644f43603fb66.zip |
[LegalizeDAG] When expanding vector SRA/SRL/SHL add the new BUILD_VECTOR to the Results vector instead of just calling ReplaceNode
The code that processes the Results vector also calls ReplaceNode
and makes ExpandNode return true.
If we don't add it to the Results node, we end up returning false
from ExpandNode. This causes ConvertNodeToLibcall to be called next.
But ConvertNodeToLibcall doesn't do anything for shifts so they
just pass through unmodified. Except for printing a debug message.
Ultimately, I'd like to add more checks to ExpandNode and
ConvertNodeToLibcall to make sure we don't have nodes marked as
Expand that don't have any Expand or libcall handling.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions