summaryrefslogtreecommitdiffstats
path: root/llvm/utils/UpdateTestChecks/common.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2019-12-30 23:41:35 -0800
committerCraig Topper <craig.topper@gmail.com>2019-12-31 00:16:13 -0800
commite898ba2d151d621dcfc35828aad6fcded5a554e8 (patch)
tree82bc24329164732f2ab0569322b4e121e3960938 /llvm/utils/UpdateTestChecks/common.py
parent4a6413cd0a8d6bf24a2c67800179e3990ca50a84 (diff)
downloadbcm5719-llvm-e898ba2d151d621dcfc35828aad6fcded5a554e8.tar.gz
bcm5719-llvm-e898ba2d151d621dcfc35828aad6fcded5a554e8.zip
[X86] Slightly improve our attempted error recovery for 64-bit -mno-sse2 in LowerCallResult to use FP1 if there are two return values.
If the return value is a struct of 2 doubles we need two return registers. If SSE2 is disabled we can't return in XMM registers like the ABI says. After logging an error we attempt to recover by using FP0 instead of an XMM register. But if the return needs two registers, we may have already used FP0. So if the register we were supposed to copy to is XMM1, copy to FP1 in the recovery instead. This seems to fix the assertion/crash in PR44413.
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud