summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-10-23 19:35:25 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-10-23 19:35:25 +0000
commit6f06b6edff4eb63703875e2785c18eea5d83e55c (patch)
tree442580523cef98ab741a5c07af9fb4ba56cde9a9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parentfeafa1d7f01ee3ca8e33f14af729d962fea91308 (diff)
downloadbcm5719-llvm-6f06b6edff4eb63703875e2785c18eea5d83e55c.tar.gz
bcm5719-llvm-6f06b6edff4eb63703875e2785c18eea5d83e55c.zip
[Hexagon] Return the correct chain edge for i1 function calls
In HexagonISelLowering, there is code to handle the case when a function returns an i1 type. In this case, we need to generate extra nodes to copy the result from R0 to a predicate register. The code was returning the wrong value for the chain edge which caused an assert "Wrong topological sorting" when converting the instructions to MIs. This patch fixes the problem by returning the chain for the final copy. Patch by Brendon Cahoon. llvm-svn: 316367
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud