summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86CallFrameOptimization.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-04-19 22:43:32 +0000
committerSam Clegg <sbc@chromium.org>2019-04-19 22:43:32 +0000
commita27252794e0785af0eff7367ac9d57d91dffe944 (patch)
tree1628b3a855db902f2b92d493e376bd51cd64cff2 /llvm/lib/Target/X86/X86CallFrameOptimization.cpp
parentd600e6fa85b59cf02b145edeaf5cbcf4cae3fe4e (diff)
downloadbcm5719-llvm-a27252794e0785af0eff7367ac9d57d91dffe944.tar.gz
bcm5719-llvm-a27252794e0785af0eff7367ac9d57d91dffe944.zip
[WebAssembly] FastISel: Don't fallback to SelectionDAG after BuildMI in selectCall
My understanding is that once BuildMI has been called we can't fallback to SelectionDAG. This change moves the fallback for when getRegForValue() fails for that target of an indirect call. This was failing in -fPIC mode when the callee is GlobalValue. Add a test case that tickles this. Differential Revision: https://reviews.llvm.org/D60908 llvm-svn: 358793
Diffstat (limited to 'llvm/lib/Target/X86/X86CallFrameOptimization.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud