diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-06-01 17:06:01 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-06-04 09:26:13 -0700 |
commit | ed71a0b45b6c927333fa2c91e16f75a251408691 (patch) | |
tree | e7c51eadd816fcfca63adaf2db2b895509254638 /llvm/unittests/Support/ToolOutputFileTest.cpp | |
parent | 9a163ffe1a507c1f5a3d29b896224112d7e54f62 (diff) | |
download | llvm-ed71a0b45b6c927333fa2c91e16f75a251408691.zip llvm-ed71a0b45b6c927333fa2c91e16f75a251408691.tar.gz llvm-ed71a0b45b6c927333fa2c91e16f75a251408691.tar.bz2 |
[flang] When folding FINDLOC, convert operands to a common type
For example, FINDLOC(A,X) should convert both A and X to COMPLEX(8)
if the operands are REAL(8) and COMPLEX(4), so that comparisons
can be done without losing inforation. The current implementation
unconditionally converts X to the type of the array A.
Differential Revision: https://reviews.llvm.org/D127030
Diffstat (limited to 'llvm/unittests/Support/ToolOutputFileTest.cpp')
0 files changed, 0 insertions, 0 deletions