aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-08-06 20:33:59 -0700
committerTim Keith <tkeith@nvidia.com>2020-08-06 20:34:00 -0700
commitd8713523a2f5847ca69c8ef172578a915c129fe8 (patch)
treee15ddbfe1e9806b02c3a9731665315301364bd3d /llvm/lib/CodeGen/MachineScheduler.cpp
parentf13f2e16f00e8d23b49b0dfc58d63adc052d0222 (diff)
downloadllvm-d8713523a2f5847ca69c8ef172578a915c129fe8.zip
llvm-d8713523a2f5847ca69c8ef172578a915c129fe8.tar.gz
llvm-d8713523a2f5847ca69c8ef172578a915c129fe8.tar.bz2
[flang] Improve message for assignment to subprogram
In the example below we were producing the error message "Assignment to constant 'f' is not allowed": ``` function f() result(r) f = 1.0 end ``` This changes it to a more helpful message when the LHS is a subprogram name and also mentions the function result name when it's a function. Differential Revision: https://reviews.llvm.org/D85483
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions