[llvm-commits] [llvm] r133063 - in /llvm/trunk: include/llvm/CodeGen/ScheduleDAG.h lib/CodeGen/ScheduleDAG.cpp lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp test/CodeGen/X86/2011-06-14-PreschedRegalias.ll

Andrew Trick atrick at apple.com
Wed Jun 15 18:45:59 PDT 2011


On Jun 15, 2011, at 11:13 AM, Jakob Stoklund Olesen wrote:
> On Jun 15, 2011, at 10:56 AM, Andrew Trick wrote:
> 
>> Self review: This test will fail in the no-Asserts build because -stress-sched is unavailable. It seems that llvm-lit always picks up the Asserts build. But is there some formal way to indicate that the test should not be run unless built with Asserts?
> 
> I don't think we have precedents for doing that.
> 
> The machine code verifier works in no-Asserts builds, for example.

I added support for this in r133131. Now you have no excuse to avoid implementing -stress-regalloc.

This could also be a way to trim libclang.dylib without limiting the power of our unit tests.

-Andy



More information about the llvm-commits mailing list