]> granicus.if.org Git - clang/commit
fix test to not check optimized IR; NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 7 Mar 2017 19:24:54 +0000 (19:24 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 7 Mar 2017 19:24:54 +0000 (19:24 +0000)
commitd29c0a6e9ca400bc6f3283c830195fab3902c203
treee8b1cf7c6e94300ed87825f56e908062da0db707
parent0bdcd308fc30409f718af5ceefbda8816342c9fe
fix test to not check optimized IR; NFCI

This test broke with an LLVM instcombine patch (r297166).
I changed the RUN line to only run -mem2reg (to save time checking this large chunk of tests)
and updated the checks using the script attached to D17999:
https://reviews.llvm.org/D17999

The goal is to make this test immune to optimizer changes. If there's something in these
tests that was checking for an IR optimization, that should be tested in LLVM, not Clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297189 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/zvector.c