[llvm-commits] [llvm] r76111 - /llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jul 16 15:30:23 PDT 2009


On 17/07/2009, at 00.08, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Thu Jul 16 17:08:25 2009
> New Revision: 76111
>
> URL: http://llvm.org/viewvc/llvm-project?rev=76111&view=rev
> Log:
> Fix inverted preprocessor conditional.
>
> Modified:
>    llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp
>
> Modified: llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp?rev=76111&r1=76110&r2=76111&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp (original)
> +++ llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp Thu Jul 16 17:08:25  
> 2009
> @@ -491,7 +491,7 @@
>                           const TargetRegisterInfo *TRI,
>                           VirtRegMap &VRM) {
>   MachineInstr *ReMatDefMI = VRM.getReMaterializedMI(Reg);
> -#ifdef NDEBUG
> +#ifndef NDEBUG
>   const TargetInstrDesc &TID = ReMatDefMI->getDesc();
>   assert(TID.getNumDefs() != 1 &&
>          "Don't know how to remat instructions that define > 1  
> values!");

This caused 51 new failures: http://google1.osuosl.org:8011/builders/llvm-x86_64-linux/builds/5292/steps/test/logs/stdio

Regards,
/jakob




More information about the llvm-commits mailing list