aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorDenis Antrushin <dantrushin@gmail.com>2020-05-20 22:40:07 +0300
committerDenis Antrushin <dantrushin@gmail.com>2020-05-21 11:02:54 +0300
commitdedcefe09d18f1e9d60336541fb6ad03dae551ba (patch)
tree5439d45802f56058eca92267d7fc0c963b985357 /llvm/lib/Support/StringRef.cpp
parent5b0d1f04bf8de8089a7b0ce243a25c16c6b3917f (diff)
downloadllvm-dedcefe09d18f1e9d60336541fb6ad03dae551ba.zip
llvm-dedcefe09d18f1e9d60336541fb6ad03dae551ba.tar.gz
llvm-dedcefe09d18f1e9d60336541fb6ad03dae551ba.tar.bz2
[Statepoint] Constant fold FP deopt args.
We do not have any special handling for constant FP deopt arguments. They are just spilled to stack or generated in register by MOVS instruction. This is inefficient and, when we have too many such constant arguments, may result in register allocation failure. Instead, we can bitcast such constant FP operands to appropriately sized integer and record as constant into statepoint and later, into StackMap. Reviewed By: skatkov Differential Revision: https://reviews.llvm.org/D80318
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions