aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorKai Nacke <kai.peter.nacke@ibm.com>2025-02-06 16:08:05 -0500
committerGitHub <noreply@github.com>2025-02-06 16:08:05 -0500
commitd905c7e316b941afcef32e28073b3e77c536407c (patch)
tree33bb35da7560bfa5e37a0144aafe9426ea0ba905 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentda053415d214d6a66ff5f8c69eb35b2c9ada9caf (diff)
downloadllvm-d905c7e316b941afcef32e28073b3e77c536407c.zip
llvm-d905c7e316b941afcef32e28073b3e77c536407c.tar.gz
llvm-d905c7e316b941afcef32e28073b3e77c536407c.tar.bz2
[XRay][SystemZ] Use stckf for non-clang compilers (#125289)
Turns out there are users who use gcc to compile compiler-rt. Using the clang-specific builtin function `__builtin_readcyclecounter()` does not work in this case. Solution is to use inline assembly using the stckf instruction in case the compiler is not clang.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions