[PATCH] D33449: [InstCombine] Fix extractelement use before def

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 08:43:57 PDT 2017


spatel added a comment.

The code change looks good. Thanks for finding/fixing that bug.

Please use the script at utils/update_test_checks.py to generate the CHECK lines for the test. That will make it easier to update this file in the future.
To use the script, add just the new test source to the file (remove the CHECK lines that you have included in this version of the patch), and then:
$ <path/to/update_test_checks.py> --tool=<path/to/opt> --function=extractelt_insertion insert-extract-shuffle.ll


https://reviews.llvm.org/D33449





More information about the llvm-commits mailing list