mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-09 05:57:23 +00:00
Disable the PatchableFunction pass for NVPTX & Wasm
PatchableFunction requires AllVRegsAllocated that these targets don't provide. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c8f9b3334
commit
07f6d807bc
@ -227,6 +227,7 @@ void NVPTXPassConfig::addIRPasses() {
|
||||
disablePass(&LiveDebugValuesID);
|
||||
disablePass(&PostRASchedulerID);
|
||||
disablePass(&FuncletLayoutID);
|
||||
disablePass(&PatchableFunctionID);
|
||||
|
||||
addPass(createNVVMReflectPass());
|
||||
if (getOptLevel() != CodeGenOpt::None)
|
||||
|
@ -191,6 +191,7 @@ void WebAssemblyPassConfig::addPostRegAlloc() {
|
||||
disablePass(&FuncletLayoutID);
|
||||
disablePass(&StackMapLivenessID);
|
||||
disablePass(&LiveDebugValuesID);
|
||||
disablePass(&PatchableFunctionID);
|
||||
|
||||
if (getOptLevel() != CodeGenOpt::None) {
|
||||
// Mark registers as representing wasm's expression stack.
|
||||
|
Loading…
x
Reference in New Issue
Block a user