summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-06-02 16:27:44 +0000
committerSanjay Patel <spatel@rotateright.com>2018-06-02 16:27:44 +0000
commitbbc6d60677c65aa8073c15b89aae353b192a472b (patch)
tree05a11e1ebc58f842e9c6badb54f4e38950a9983c /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent51f19b9ee1d8469caeeeaf2b1774663ee50c6d69 (diff)
downloadbcm5719-llvm-bbc6d60677c65aa8073c15b89aae353b192a472b.tar.gz
bcm5719-llvm-bbc6d60677c65aa8073c15b89aae353b192a472b.zip
[InstCombine] call simplify before trying vector folds
As noted in the review thread for rL333782, we could have made a bug harder to hit if we were simplifying instructions before trying other folds. The shuffle transform in question isn't ever a simplification; it's just a canonicalization. So I've renamed that to make that clearer. This is NFCI at this point, but I've regenerated the test file to show the cosmetic value naming difference of using instcombine's RAUW vs. the builder. Possible follow-ups: 1. Move reassociation folds after simplifies too. 2. Refactor common code; we shouldn't have so much repetition. llvm-svn: 333820
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud