This reverts commit 6e66cfeeaec6f09a4454400e45d690457ecdd3de. This change causes crashes on compiling some inputs, see https://github.com/llvm/llvm-project/pull/127450#issuecomment-2752833710 and https://github.com/llvm/llvm-project/pull/127450#issuecomment-2753375326 for details.