diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-02-06 09:38:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 09:38:25 -0800 |
commit | cca49663a56d90f6773f140269940d606aa61430 (patch) | |
tree | d374de58cd28a1afbfa5f114dd247d8be1a8eecb /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | 6b2fd7aed66d592738f26c76caa8fff95e168598 (diff) | |
download | llvm-cca49663a56d90f6773f140269940d606aa61430.zip llvm-cca49663a56d90f6773f140269940d606aa61430.tar.gz llvm-cca49663a56d90f6773f140269940d606aa61430.tar.bz2 |
[FastISel][X86] Use getTypeForExtReturn in GetReturnInfo. (#80803)
The comment and code here seems to match getTypeForExtReturn. The
history shows that at the time this code was added, similar code existed
in SelectionDAGBuilder. SelectionDAGBuiler code has since been
refactored into getTypeForExtReturn.
This patch makes FastISel match SelectionDAGBuilder.
The test changes are because X86 has customization of
getTypeForExtReturn. So now we only extend returns to i8.
Stumbled onto this difference by accident.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions