diff options
| author | Quinn Pham <Quinn.Pham@ibm.com> | 2022-04-12 12:46:33 -0500 |
|---|---|---|
| committer | Quinn Pham <Quinn.Pham@ibm.com> | 2022-04-12 15:33:20 -0500 |
| commit | 7d7022fb0ce42a59417b6402cbdd8397287c4ffb (patch) | |
| tree | 0db0c274a0d0a179520f5f6c5f8c62519bbad2e5 /lldb/test/API/python_api | |
| parent | d10c09168377767e43efbcb22e65343d509c13f0 (diff) | |
[PowerPC] Fix EmitPPCBuiltinExpr to emit arguments once
This patch changes `EmitPPCBuiltinExpr` in `CGBuiltin.cpp` to remove
the loop at the beginning of the function that emits the arguments and
to delay emitting the arguments until inside the switch statement. These
changes will put `EmitPPCBuiltinExpr` in line with the strategy of the
target independent function `EmitBuiltinExpr`. Also, this patch
ensures that arguments are only emitted once.
Tests that included builtins affected by these changes have been
modified to match expected behaviour.
Reviewed By: #powerpc, nemanjai, amyk
Differential Revision: https://reviews.llvm.org/D121637
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
