- Dec 13, 2009
-
-
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
-
Bill Wendling authored
build bots. llvm-svn: 91113
-
Duncan Sands authored
has the 'nest' attribute. llvm-svn: 91109
-
Evan Cheng authored
llvm-svn: 91105
-
Evan Cheng authored
llvm-svn: 91104
-
Evan Cheng authored
llvm-svn: 91103
-
Bill Wendling authored
- Loosen the restrictions when checking of it branches to a landing pad. - Make the loop more efficient by checking the '.insert' return value. - Do cheaper checks first. llvm-svn: 91101
-
Bill Wendling authored
more than one successor. Normally, these extra successors are dead. However, some of them may branch to exception handling landing pads. If we remove those successors, then the landing pads could go away if all predecessors to it are removed. Before, it was checking if the direct successor was the landing pad. But it could be the result of jumping through multiple basic blocks to get to it. If we were to only check for the existence of an EH_LABEL in the basic block and not remove successors if it's in there, then it could stop actually dead basic blocks from being removed. llvm-svn: 91092
-
Jim Grosbach authored
llvm-svn: 91090
-
Anders Carlsson authored
llvm-svn: 91087
-