diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2025-03-24 10:43:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 10:43:53 -0700 |
commit | 8a2a6944383cbd83010a4d5c1ef1a7ef34194bcd (patch) | |
tree | 3b1d99978a822e70f4e11f3713d45878f563afd6 /llvm/docs/CommandGuide | |
parent | e75f586b813a081cffcafb8b5d34b5547e52e548 (diff) | |
download | llvm-8a2a6944383cbd83010a4d5c1ef1a7ef34194bcd.zip llvm-8a2a6944383cbd83010a4d5c1ef1a7ef34194bcd.tar.gz llvm-8a2a6944383cbd83010a4d5c1ef1a7ef34194bcd.tar.bz2 |
[MLIR][LLVM] Support dso_local_equivalent constants (#132131)
Create a new operation `DSOLocalEquivalentOp`, following the steps of
other constants.
This is similar in a way to `AddressOfOp` but with specific semantics:
only support functions and function aliases (no globals) and extern_weak
linkage is not allowed.
An alternative approach is to use a new `UnitAttr` in `AddressOfOp` and
check that attribute to enforce specific semantics in the verifiers. The
drawback is going against what other constants do and having to add more
attributes in the future when we introduce `no_cfi`, `blockaddress`,
etc.
While here, improve the error message for other missing constants.
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions