X86TargetLowering::LowerToBT

Mehdi Amini mehdi.amini at apple.com
Sat Jan 24 12:41:00 PST 2015


Not exactly, the point of the test is to check that the output is as expected, i.e. running your test with llc should fail right now, and pass with your patch applied.
Look at the existing tests and how they make use of lines like

; CHECK-LABEL
; CHECK:
…


Also, try -O2 when you generate your IR, it should be simpler. The test case should be “minimal”.

Thanks,

Mehdi


> On Jan 24, 2015, at 12:38 PM, Chris Sears <chris.sears at gmail.com> wrote:
> 
> Is this right? I just prepended this to the -emit-llvm output:
> 
> ; RUN: llc < %s -march=x86 | FileCheck %s
>> <tst64.ll>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150124/9e51e5e0/attachment.html>


More information about the llvm-commits mailing list