aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-08-10 11:44:04 -0700
committerTim Keith <tkeith@nvidia.com>2020-08-10 11:44:08 -0700
commit7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063 (patch)
treec101f3fa9332ae4bdce3b4967d1fcec64feabdb7 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent189c0833dfd654f08a8655ca765e11e8890a92ae (diff)
downloadllvm-7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063.zip
llvm-7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063.tar.gz
llvm-7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063.tar.bz2
[flang] Avoid cascading error in subscript triplet
If a bound of a subscript triplet is present but fails to analyze due to an error, return nullopt rather than returning a Triplet with that bound missing. This is so we can distinguish an absent bound from an erroneous one and avoid spurious errors. Differential Revision: https://reviews.llvm.org/D85672
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions