= LLVM 2.5にアップデートテストメモ = ダウンロード: http://llvm.org/releases/download.html#2.5 * configureのオプションは踏襲 {{{ ./configure --enable-optimized --disable-threads }}} * Ubuntu 8.04 LTS (x86_64)では動作 * Debian etch (x86_64)ではおかしい。20090526の時点で、http://llvm.org/docs/GettingStarted.html#software によると >GCC 4.1.2 (20061115 (prerelease) (Debian 4.1.1-21)) on Debian: Appears to miscompile parts of LLVM 2.4. One symptom is ValueSymbolTable complaining about symbols remaining in the table on destruction. とのこと。報告通りのエラーが。 * ある関数のインライン展開を常におこなうためには、Attributeを設定すればよい {{{ Function *func = Function::Create(); func->addFnAttr(Attribute::AlwaysInline); }}} = redundant ops elimination = == ffe == || || s1 || s2 || r || time || || noopt || 4605 || 3415 || 109 || 1.222501e-01 || || GVN || 1175 || 1391 || 65 || 4.589486e-02 || || GVNPRE || 3389 || 2725 || 80 || 7.008004e-02 || == ffg+ffe == || || s1 || s2 || r || time || || noopt || 11090 || - || - || - || || GVN || 3672 || - || - || - || || GVNPRE || 8633 || - || - || - || [[Image(live.png)]]