summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-08-01 21:31:24 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-08-01 21:31:24 +0000
commit4a7130a8fb77e45f3e597a132a539ac323ac6a34 (patch)
tree9cc95945cbad8a80fd4cadd24186c4be442892b5 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent9f4dc98e96c69b3f298b0492a7ebb608c4d75ebd (diff)
downloadbcm5719-llvm-4a7130a8fb77e45f3e597a132a539ac323ac6a34.tar.gz
bcm5719-llvm-4a7130a8fb77e45f3e597a132a539ac323ac6a34.zip
CodeGen: simplify the CC handling for TLS wrappers
Use the calling convention of the wrapper directly to set the calling convention to ensure that the calling convention matches. Incorrectly setting the calling convention results in the code path being entirely nullified as InstCombine + SimplifyCFG will prune the mismatched CC calls. llvm-svn: 277390
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud