- Dec 14, 2009
-
-
Shantonu Sen authored
llvm-svn: 91277
-
Torok Edwin authored
gcc warned that the function may not have a return value, indeed for non-intel and non-amd X86 CPUs it is right (VIA, etc.). llvm-svn: 91276
-
Lang Hames authored
llvm-svn: 91275
-
Bill Wendling authored
llvm-svn: 91274
-
Lang Hames authored
Moved spill weight calculation out of SimpleRegisterCoalescing and into its own pass: CalculateSpillWeights. llvm-svn: 91273
-
Chris Lattner authored
sent to Bob. llvm-svn: 91268
-
Jim Grosbach authored
llvm-svn: 91260
-
Mikhail Glushenkov authored
llvm-svn: 91259
-
- Dec 13, 2009
-
-
Jeffrey Yasskin authored
nlewycky's fix to add -rdynamic so the JIT can look symbols up in Linux builds of the JITTests binary. llvm-svn: 91250
-
Torok Edwin authored
x86 CPU detection for the X86 getHostCPUName too, and create a simple getHostCPUName that returns "generic" for all else. llvm-svn: 91240
-
Chandler Carruth authored
about the potential use of these uninitialized members under certain conditions. llvm-svn: 91239
-
Anton Korobeynikov authored
llvm-svn: 91233
-
Anton Korobeynikov authored
llvm-svn: 91232
-
Eli Friedman authored
llvm-svn: 91230
-
- Dec 12, 2009
-
-
Eli Friedman authored
merging x >u 5 and x <s 20 because it's impossible to implement. llvm-svn: 91228
-
Daniel Dunbar authored
llvm-svn: 91226
-
Evan Cheng authored
llvm-svn: 91223
-
Anton Korobeynikov authored
No testcase yet - it seems we're exposing generic codegen bugs. llvm-svn: 91221
-
Evan Cheng authored
llvm-svn: 91220
-
Evan Cheng authored
llvm-svn: 91219
-
Torok Edwin authored
MSVS2k8 doesn't define __i386__, hence all the CPU detection code was disabled. Enable it by looking for _MSC_VER. llvm-svn: 91217
-
Benjamin Kramer authored
llvm-svn: 91214
-
Jeffrey Yasskin authored
defined in the test, and I don't have time tonight to figure it out. llvm-svn: 91209
-
Jeffrey Yasskin authored
supported by emitGlobals, but I don't have a test case for that. llvm-svn: 91208
-
Jeffrey Yasskin authored
namespace llvm" by qualifying their implementations with ::llvm::. llvm-svn: 91206
-
Jim Grosbach authored
just issues an error for the moment. The front end won't yet generate these intrinsics for ARM, so this is behind the scenes until complete. llvm-svn: 91200
-
Bob Wilson authored
While scanning through the uses of an alloca, keep track of the current offset relative to the start of the alloca, and check memory references to see if the offset & size correspond to a component within the alloca. This has the nice benefit of unifying much of the code from isSafeUseOfAllocation, isSafeElementUse, and isSafeUseOfBitCastedAllocation. The code to rewrite the uses of a promoted alloca, after it is determined to be safe, is reorganized in the same way. Also, when rewriting GEP instructions, mark them as "in-bounds" since all the indices are known to be safe. llvm-svn: 91184
-
Dan Gohman authored
a vector type. llvm-svn: 91181
-
Anton Korobeynikov authored
Based on the patch by Brian Lucas! llvm-svn: 91175
-
- Dec 11, 2009
-
-
Bill Wendling authored
branches only to a landing pad. Without this check, the compiler would go into an infinite loop because the branch to a landing pad is an "abnormal" edge which wasn't being taken into account. This is the meat of that fix: if (!PrevBB.canFallThrough() && !MBB->BranchesToLandingPad(MBB)) { The other stuff is simplification of the "branches to a landing pad" code. llvm-svn: 91161
-
Devang Patel authored
llvm-svn: 91159
-
Dan Gohman authored
llvm-svn: 91158
-
Jim Grosbach authored
memory barrier instructions by definition have side effects. This prevents the post-RA scheduler from moving them around. llvm-svn: 91150
-
Dan Gohman authored
llvm-svn: 91148
-
Dan Gohman authored
avoid spurious failures. This fixes PR5758. llvm-svn: 91147
-
Dan Gohman authored
aggregate return values. This fixes PR5754. llvm-svn: 91145
-
Anton Korobeynikov authored
This is used in some weird cases like general dynamic TLS model. This fixes PR5723 llvm-svn: 91144
-
Johnny Chen authored
llvm-svn: 91143
-
Jim Grosbach authored
llvm-svn: 91140
-
Gabor Greif authored
This change removes the DefaultConstructible and CopyAssignable constraints on the template parameter T (the first one). The second template parameter (R) is defaulted to be identical to the first and controls the result type. By specifying it to be (const T&) additionally the CopyConstructible constraint on T can be removed. This allows to use StringSwitch e.g. for llvm::Constant instances. Regarding the other review feedback regarding performance because of taking pointers, this class should be completely optimizable like before, since all methods are inline and the pointer dereferencing and result value caching should be possible behind the scenes by the "as-if" rule. llvm-svn: 91123
-