[LLVMdev] opt options
Villmow, Micah
Micah.Villmow at amd.com
Thu Oct 16 12:53:39 PDT 2008
Ok, will do, I found the pass that was causing it, -loop-unswitch. I'll
get a test case and a bug file.
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Eli Friedman
Sent: Thursday, October 16, 2008 12:39 PM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] opt options
On Thu, Oct 16, 2008 at 12:03 PM, Villmow, Micah <Micah.Villmow at amd.com>
wrote:
> What exactly are the standard compile options that are implemented
when
> using -std-compile-opts?
>
> The reason I'm asking is it seems that -std-compile-opts creates some
CFG
> graphs that are invalid and should not be created and I am trying to
figure
> out which stage is creating this issue?
>
> The input LLVM-ir is in test.ll.
>
> The version with no optimizations looks correct, but the one using
> -std-compile-opts produces a CFG with an infinite loop.
You might want to try bugpoint; see
http://llvm.org/docs/HowToSubmitABug.html and
http://llvm.org/docs/Bugpoint.html for more info. For your specific
case, you'll need to add a "main" of some sort, and pass something
like -timeout 2 so that it doesn't take forever. That said, it's a
lot more convenient than doing a manual binary search.
-Eli
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list