These are tests for D68128.
In general depending on more than one pass in tests is frowned upon.
; RUN: opt -passes=instcombine,verify -S < %s | FileCheck %s --check-prefixes=ALL,INSTCOMBINE ; Make sure GVN won't undo the transformation: ; RUN: opt -passes=instcombine,gvn -S < %s | FileCheck --check-prefixes=ALL,INSTCOMBINEGVN %s
get rid of dedicated ; CHECK-AFTER-GVN check lines?
Thanks for the suggestion, it simplifies checks for all but two tests. Will update the patch soon.
I don't like it either, so any suggestions on how to get rid of it without compromising reliability of these tests are welcome.