[LLVMdev] problem trying to write an LLVM register-allocation pass
lhames at gmail.com
Thu Nov 15 16:45:27 PST 2012
To my knowledge the verifier doesn't produce false positives with any of
the in-tree allocators. If it is raising an error that is worth
investigating. Is it raising an error on any simple test cases? Can you
share the failing case?
On Thu, Nov 15, 2012 at 2:44 PM, Susan Horwitz <horwitz at cs.wisc.edu> wrote:
> I tried using this flag and it gave me errors on code that otherwise
> assembles and runs just fine (using the version of Gcra.cpp that Lang
> wrote). So I'm wondering if I should really be using the flag? I'm using
> it like this:
> llc -verify-machineinstrs -load Debug/lib/P4.so -regalloc=gc xxx.bc
> On 11/15/2012 01:13 PM, Jakob Stoklund Olesen wrote:
>> On Nov 15, 2012, at 7:53 AM, Susan Horwitz<horwitz at cs.wisc.edu>
>> Lang -
>>> Attached is a new example for which I still get assembler errors.
>> Hi Susan,
>> You should never be getting assembler errors if 'llc
>> -verify-machineinstrs' approves of your machine code. It might give
>> you better error messages than the assembler.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev