aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2023-05-10 16:18:47 -0700
committerPeter Klausler <pklausler@nvidia.com>2023-05-16 10:29:56 -0700
commit01e22dfb104e7ab4737e512d4e1bbc609962b13e (patch)
tree38b11632870b10837039a70b8fc39f62fc146cfd /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent7c1f279328451e7c17cc16e9142adf11293f32c7 (diff)
downloadllvm-01e22dfb104e7ab4737e512d4e1bbc609962b13e.zip
llvm-01e22dfb104e7ab4737e512d4e1bbc609962b13e.tar.gz
llvm-01e22dfb104e7ab4737e512d4e1bbc609962b13e.tar.bz2
[flang] Parenthesize RHS arguments to defined assignments (bug #62599)
The right-hand sides of assignment statements are always expressions, never variables. When an assignment statement is converted into a call to a defined assignment subroutine, and the actual argument being associated with the second dummy argument is a variable, and the dummy argument does not have the VALUE attribute, wrap it with parentheses so that lowering will pass it by means of a temporary. Fixes https://github.com/llvm/llvm-project/issues/62599. Differential Revision: https://reviews.llvm.org/D150331
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions