[llvm-commits] [llvm] r122945 - /llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

NAKAMURA Takumi geek4civic at gmail.com
Fri Jan 7 01:10:15 PST 2011


> Author: zwarich
> Date: Wed Jan  5 20:56:42 2011
> New Revision: 122945

FYI, it causes assertion failure (probably) due to miscompilation of
gcc-4.4.0 on mingw.

> g++.exe (TDM-1 mingw32) 4.4.0
$ llc < test/CodeGen/X86/pr3495.ll
> Assertion failed: NumEntries == 0 && "Node count imbalance!", file include/llvm/ADT/DenseMap.h, line 123

Workaround:

  - Use clang++! (recommended :D )
  - Use -O2. (-O3 by default with CMake and -O2 by default with autoconf)
  - Suppress invoking "OptimizeInlineAsmInst(I, &(*CI), SunkAddrs);"

...Takumi




More information about the llvm-commits mailing list