aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-06-30 15:39:43 -0400
committerShilei Tian <tianshilei1992@gmail.com>2021-06-30 15:39:57 -0400
commit24a36ce58b773332dbb28df87270251686c9430d (patch)
tree7b3cbe14fd0de60930427291438236c9a0036232 /llvm/lib/CodeGen/MachineOperand.cpp
parenta64287247633da36b58d65e4c5e248f2b4c6fe61 (diff)
downloadllvm-24a36ce58b773332dbb28df87270251686c9430d.zip
llvm-24a36ce58b773332dbb28df87270251686c9430d.tar.gz
llvm-24a36ce58b773332dbb28df87270251686c9430d.tar.bz2
[OpenMP][Offloading] Replace all calls to `isSPMDMode` with `__kmpc_is_spmd_exec_mode`
In our ongoing work, we are using `AbstractAttributor` to deduct execution model of device functions, and potententially remove unnecessary function calls to `__kmpc_is_spmd_exec_mode`. In current device runtime, we have mixed use of `isSPMDMode` and `__kmpc_is_spmd_exec_mode`, but in fact in `__kmpc_is_spmd_exec_mode` it simply calls `isSPMDMode`. Since all functions starting with `__kmpc` is C function, which doesn't have things like name mangling. It is more optimization friendly. In this patch, we simply replaced all calls to `isSPMDMode` with `__kmpc_is_spmd_exec_mode` to pave the way for the optimization. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D105211
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions