diff options
author | Valentin Clement <clementval@gmail.com> | 2023-08-09 09:02:18 -0700 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-08-09 09:03:57 -0700 |
commit | bbce1fcbaa2768328816a01e680710d06e441828 (patch) | |
tree | e4a5afa8ee0c7cf60ebbc84567246ff7c6e17d66 /libcxx/modules/std/text_encoding.cppm | |
parent | 977cb4fdf8033548ec3e8a1bec7fc8e0e2fc0a62 (diff) | |
download | llvm-bbce1fcbaa2768328816a01e680710d06e441828.zip llvm-bbce1fcbaa2768328816a01e680710d06e441828.tar.gz llvm-bbce1fcbaa2768328816a01e680710d06e441828.tar.bz2 |
[mlir] Fix verifier for call debug locations
D157096 introduces a new verifier for debug location
on call operation. `isDeclaration()` is actually not defined
for `LLVMFuncOp` and default to the interface definition that always
return `false`. This leads to wrong diagnostic in some case as shown in the added test.
Use `callee.isExternal()` instead that returns the
desired information.
We have seen this error being triggered during flang codegen.
Reviewed By: Dinistro, vzakhari
Differential Revision: https://reviews.llvm.org/D157447
Diffstat (limited to 'libcxx/modules/std/text_encoding.cppm')
0 files changed, 0 insertions, 0 deletions