summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-02-08 14:27:23 +0000
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-02-08 14:27:23 +0000
commitc98b26d32685dfc2d55d50b6dd584a1a97183abf (patch)
tree30af6d302fd40306438c23fdc6a1d4a1d5f44716 /clang/lib/Frontend/CompilerInstance.cpp
parente44c21f5a4219ce61939376e79e40bb4bebc32f2 (diff)
downloadbcm5719-llvm-c98b26d32685dfc2d55d50b6dd584a1a97183abf.tar.gz
bcm5719-llvm-c98b26d32685dfc2d55d50b6dd584a1a97183abf.zip
[MIPS GlobalISel] Select any extending load and truncating store
Make behavior of G_LOAD in widenScalar same as for G_ZEXTLOAD and G_SEXTLOAD. That is perform widenScalarDst to size given by the target and avoid additional checks in common code. Targets can reorder or add additional rules in LegalizeRuleSet for the opcode to achieve desired behavior. Select extending load that does not have specified type of extension into zero extending load. Select truncating store that stores number of bytes indicated by size in MachineMemoperand. Differential Revision: https://reviews.llvm.org/D57454 llvm-svn: 353520
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud