summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLoopInfo.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-01-29 20:21:02 +0000
committerSanjay Patel <spatel@rotateright.com>2016-01-29 20:21:02 +0000
commit66fff73c765785a775dda676cc4e76e024686754 (patch)
tree19967c11b240bca32fa6d659def3380f7604ffc1 /llvm/lib/CodeGen/MachineLoopInfo.cpp
parent02e73d1c3c983c6091c1892e69d2d288be63d11b (diff)
downloadbcm5719-llvm-66fff73c765785a775dda676cc4e76e024686754.tar.gz
bcm5719-llvm-66fff73c765785a775dda676cc4e76e024686754.zip
[InstCombine] avoid an insertelement transformation that induces the opposite extractelement fold (PR26354)
We would infinite loop because we created a shufflevector that was wider than needed and then failed to combine that with the insertelement. When subsequently visiting the extractelement from that shuffle, we see that it's unnecessary, delete it, and trigger another visit to the insertelement. llvm-svn: 259236
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud