diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-01 21:31:24 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-01 21:31:24 +0000 |
commit | 4a7130a8fb77e45f3e597a132a539ac323ac6a34 (patch) | |
tree | 9cc95945cbad8a80fd4cadd24186c4be442892b5 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 9f4dc98e96c69b3f298b0492a7ebb608c4d75ebd (diff) | |
download | bcm5719-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