summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-12-01 06:02:00 +0000
committerCraig Topper <craig.topper@intel.com>2017-12-01 06:02:00 +0000
commitc261213abc8ad3309e68b7ac593b9f157c4499a9 (patch)
tree7e93b43778d3dbf6cf694ab9a2221e23ed7b348d /llvm/lib/Transforms
parent81201cee4ad211fc104a32c613295cc675fbc89c (diff)
downloadbcm5719-llvm-c261213abc8ad3309e68b7ac593b9f157c4499a9.tar.gz
bcm5719-llvm-c261213abc8ad3309e68b7ac593b9f157c4499a9.zip
[X86][SelectionDAG] Make sure we explicitly sign extend the index when type promoting the index of scatter and gather.
Type promotion makes no guarantee about the contents of the promoted bits. Since the gather/scatter instruction will use the bits to calculate addresses, we need to ensure they aren't garbage. llvm-svn: 319520
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud