1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/lib
Hans Wennborg 220b5e3636 Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of cast
It turns out that the operands of a Constant are not always themselves
Constant. For example, one of the operands of BlockAddress is
BasicBlock, which is not a Constant.

This should fix the dragonegg-x86_64-linux-gcc-4.6-test build which
broke in r168037.

llvm-svn: 168147
2012-11-16 10:33:25 +00:00
..
Analysis Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's. 2012-11-15 00:14:15 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Fix typo in a comment. 2012-11-16 06:10:48 +00:00
Bitcode Remove trailing whitespace 2012-11-15 22:34:00 +00:00
CodeGen Factor some common code to reduce compile size. 2012-11-16 07:48:23 +00:00
DebugInfo [DebugInfo] Generate address ranges for compile units even if .debug_aranges is present: it is often the case that .debug_aranges section contains ranges only for a small subset of compile units. Test cases will be added in separate commits. 2012-11-16 08:36:25 +00:00
ExecutionEngine Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded. 2012-11-15 23:50:01 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Emit relocations from .debug_aranges to .debug_info for asm files 2012-11-14 09:55:38 +00:00
Object s/assert/llvm_unreachable/ 2012-11-14 17:58:11 +00:00
Support PathV2: Fix a possible infinite loop. 2012-11-15 20:24:52 +00:00
TableGen Remove exception handling usage from tblgen. 2012-10-25 20:33:17 +00:00
Target Use roundps/pd for llvm.ceil, llvm.trunc, llvm.rint, and llvm.nearbyint of vector types. 2012-11-16 06:37:56 +00:00
Transforms LoopVectorize: Division reductions generate incorrect code. Remove the part of the code that deals with divs. 2012-11-16 06:51:17 +00:00
VMCore Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of cast 2012-11-16 10:33:25 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile