[llvm-commits] [PATCHES] fix JIT optimization level bug

nobled nobled at dreamwidth.org
Fri Nov 25 14:11:05 PST 2011


The first two patches fix two different bugs introduced with r144788:
first, the CodeGenOpt enum was being cast into
addPassesToEmitMachineCode()'s optional 'bool DisableVerify' argument
after the old optimization argument was removed in the api change
(would a warning on implicitly casting enum to bool be a good idea?);
and second, the TargetMachine wasn't being created with the
optimization level requested. The rest are just code cleanups after
that.

Okay to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-JIT-fix-erroneous-cast-from-enum-to-bool.patch
Type: text/x-patch
Size: 1692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111125/c6ec60c9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-ExecutionEngine-honor-optimization-level.patch
Type: text/x-patch
Size: 4182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111125/c6ec60c9/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-ExecutionEngine-drop-unused-arguments.patch
Type: text/x-patch
Size: 7927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111125/c6ec60c9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-TargetSelect-drop-unneeded-argument.patch
Type: text/x-patch
Size: 4295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111125/c6ec60c9/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-ExecutionEngine-lift-error-message-into-JIT-specific.patch
Type: text/x-patch
Size: 2627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111125/c6ec60c9/attachment-0004.bin>


More information about the llvm-commits mailing list