diff options
author | Mitch Phillips <mitchp@google.com> | 2024-03-04 17:04:22 +0100 |
---|---|---|
committer | Mitch Phillips <mitchp@google.com> | 2024-03-04 17:05:34 +0100 |
commit | f010b1bef4dda2c7082cbb41dbabf1f149cce306 (patch) | |
tree | f77efb74cdb01560c691d981abd65f1c8d998454 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | |
parent | d0521484c854adf082936824c99f9db101363cb8 (diff) | |
download | llvm-f010b1bef4dda2c7082cbb41dbabf1f149cce306.zip llvm-f010b1bef4dda2c7082cbb41dbabf1f149cce306.tar.gz llvm-f010b1bef4dda2c7082cbb41dbabf1f149cce306.tar.bz2 |
Revert "Restore "Implement convergence control in MIR using SelectionDAG (#71785)""
This reverts commit c7fdd8c11e54585dc9d15d63de9742067e0506b9.
Reason: Broke the sanitizer buildbots. See the comments at
https://github.com/llvm/llvm-project/pull/71785
for more information.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index e01cd8c..4172fbc 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -395,16 +395,6 @@ Register FunctionLoweringInfo::CreateRegs(const Value *V) { !TLI->requiresUniformRegister(*MF, V)); } -Register FunctionLoweringInfo::InitializeRegForValue(const Value *V) { - // Tokens live in vregs only when used for convergence control. - if (V->getType()->isTokenTy() && !isa<ConvergenceControlInst>(V)) - return 0; - Register &R = ValueMap[V]; - assert(R == Register() && "Already initialized this value register!"); - assert(VirtReg2Value.empty()); - return R = CreateRegs(V); -} - /// GetLiveOutRegInfo - Gets LiveOutInfo for a register, returning NULL if the /// register is a PHI destination and the PHI's LiveOutInfo is not valid. If /// the register's LiveOutInfo is for a smaller bit width, it is extended to |