[patch] rfc: shark overloaded intrinsic suffix fix

Xerxes Rånby xerxes at zafena.se
Tue Oct 6 07:22:56 PDT 2009

I was toying with adding some optimization passes and verify passes to
speed up and more runtime checks to shark, while doing so then one of
the verify passes found at least one oddity in the shark sourcecode.
The attached patch fixes this verifier issue.

verifier output:
Overloaded intrinsic has incorrect suffix: '.i32'. It should be '.i32.p0i32'
i32 (i32*, i32, i32)* @llvm.atomic.cmp.swap.i32
Broken module found, compilation aborted!
Stack dump:
0.    Running pass 'Module Verifier' on function
Avbruten (SIGABRT)


Ok to push?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_verifier.patch
Type: text/x-patch
Size: 787 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091006/046d34b0/fix_verifier.patch 

More information about the distro-pkg-dev mailing list