aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MIRParser/MIParser.cpp
diff options
context:
space:
mode:
authorLeandro Lacerda <leandrolcampos@yahoo.com.br>2025-07-22 17:29:01 -0300
committerGitHub <noreply@github.com>2025-07-22 15:29:01 -0500
commitd8e55c842bf4bb437c8aa94d38ef368b2f103aec (patch)
tree0c96eaf3c04d397c92b60da6bd13302337d65109 /llvm/lib/CodeGen/MIRParser/MIParser.cpp
parenta0aebb1935c10ab945121d86df56914906d13cb0 (diff)
downloadllvm-d8e55c842bf4bb437c8aa94d38ef368b2f103aec.zip
llvm-d8e55c842bf4bb437c8aa94d38ef368b2f103aec.tar.gz
llvm-d8e55c842bf4bb437c8aa94d38ef368b2f103aec.tar.bz2
[libc] Expose the Sign type for shared use (#150083)
This patch exposes the internal `Sign` type for shared use by other LLVM subprojects, following the pattern established by `FPBits`. The `FPBits` utility is exposed via `libc/shared/fp_bits.h`. However, its public interface relies on the `Sign` type for, e.g., creating signed infinities and returning the sign of a value. Currently, users of the shared `FPBits` have no way to access the `Sign` type. Following the existing pattern for sharing `libc` utilities, this patch adds a new public header `libc/shared/sign.h`. This header simply includes the internal `src/__support/sign.h` and brings the `Sign` type into the `shared` namespace.
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.cpp')
0 files changed, 0 insertions, 0 deletions