For __builtin_thread_pointer to work, among other things.
Similar to D76828 for RISCV.
Paths
| Differential D134368
[LoongArch] Support llvm.thread.pointer ClosedPublic Authored by xen0n on Sep 21 2022, 8:48 AM.
Details
Diff Detail
Event TimelineHerald added subscribers: • pcwang-thead, luismarques, s.egerton and 3 others. · View Herald TranscriptSep 21 2022, 8:51 AM This revision is now accepted and ready to land.Sep 21 2022, 8:59 AM This revision was landed with ongoing or failed builds.Sep 25 2022, 6:59 PM Closed by commit rGf89f0990db44: [LoongArch] Support llvm.thread.pointer (authored by WANG Xuerui <git@xen0n.name>, committed by SixWeining). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 462786 llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/thread-pointer.ll
|