summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
diff options
context:
space:
mode:
authorStefan Maksimovic <stefan.maksimovic@mips.com>2018-07-26 10:59:35 +0000
committerStefan Maksimovic <stefan.maksimovic@mips.com>2018-07-26 10:59:35 +0000
commit4a612d4bf290346ec018a74fd245c8e30ff93de7 (patch)
tree5fbefdf47bdb50c54befcd4907c4b294e487501e /llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
parent9dafd6f6d93ca67f63c09aa091b28ddf88ddfc14 (diff)
downloadbcm5719-llvm-4a612d4bf290346ec018a74fd245c8e30ff93de7.tar.gz
bcm5719-llvm-4a612d4bf290346ec018a74fd245c8e30ff93de7.zip
[mips] Sign extend i32 return values on MIPS64
Override getTypeForExtReturn so that functions returning an i32 typed value have it sign extended on MIPS64. Also provide patterns to get rid of unneeded sign extensions for arithmetic instructions which implicitly sign extend their results. Differential Revision: https://reviews.llvm.org/D48374 llvm-svn: 338019
Diffstat (limited to 'llvm/lib/Target/ARM/ARMLegalizerInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud