Disable the PatchableFunction pass for NVPTX & Wasm
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 19 Apr 2016 06:24:58 +0000 (06:24 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 19 Apr 2016 06:24:58 +0000 (06:24 +0000)
commitfe71ec771a3fd387831eed682af9463ba9d08bfd
tree7b19e117bf6d642068ffb5f2f3d34c9ba45381c6
parent7dcc97e7ac0a7184f527c77178ecc9db7b412dc8
Disable the PatchableFunction pass for NVPTX & Wasm

PatchableFunction requires AllVRegsAllocated that these targets don't
provide.

llvm-svn: 266720
llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp