llvm-6502/lib/Transforms
Hans Wennborg 160dcf5b61 Don't build switch lookup tables for dllimport or TLS variables
We would previously put dllimport variables in switch lookup tables, which
doesn't work because the address cannot be used in a constant initializer.
This is basically the same problem that we have in PR19955.

Putting TLS variables in switch tables also desn't work, because the
address of such a variable is not constant.

Differential Revision: http://reviews.llvm.org/D4220

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211331 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-20 00:38:12 +00:00
..
Hello [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:55:47 +00:00
InstCombine Added instruction combine to transform few more negative values addition to subtraction (Part 1) 2014-06-19 10:36:52 +00:00
Instrumentation [msan] Handle X86 *.psad.* and *.pmadd.* intrinsics. 2014-06-18 12:02:29 +00:00
IPO IR: add "cmpxchg weak" variant to support permitted failure. 2014-06-13 14:24:07 +00:00
ObjCARC Add comdat key field to llvm.global_ctors and llvm.global_dtors 2014-05-16 20:39:27 +00:00
Scalar Updated comments as suggested by Rafael. Thanks. 2014-06-19 14:11:53 +00:00
Utils Don't build switch lookup tables for dllimport or TLS variables 2014-06-20 00:38:12 +00:00
Vectorize [SLP] Enable vectorization of GEP expressions. 2014-06-06 15:34:24 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile