| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 28661
|
|
|
|
|
|
| |
Don't warn about -pedantic errors. Add a note to the PR instead.
llvm-svn: 28616
|
|
|
|
|
|
|
|
|
| |
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.
llvm-svn: 28614
|
|
|
|
|
|
|
| |
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.
llvm-svn: 28610
|
|
|
|
| |
llvm-svn: 28605
|
|
|
|
|
|
|
|
| |
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't
get warnings from LLVM. There's still more -pedantic warnings to fix.
llvm-svn: 28453
|
|
|
|
|
|
|
|
| |
argument struct pointer, enabling ABI compatibility for the CBE with
platforms with strange struct-return ABIs. This fixes 252.eon and
CoyoteBench/fftbench on Darwin/X86 among other things.
llvm-svn: 28442
|
|
|
|
|
|
|
| |
TargetData.h. This should make recompiles a bit faster with my current
TargetData tinkering.
llvm-svn: 28238
|
|
|
|
| |
llvm-svn: 28081
|
|
|
|
|
|
|
|
| |
target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference.
This fixes PR 759.
llvm-svn: 28074
|
|
|
|
| |
llvm-svn: 27761
|
|
|
|
| |
llvm-svn: 26990
|
|
|
|
|
|
| |
Make the CBE and V9 backends create their own, since they're the only ones that use it.
llvm-svn: 26974
|
|
|
|
| |
llvm-svn: 26737
|
|
|
|
| |
llvm-svn: 26729
|
|
|
|
| |
llvm-svn: 26621
|
|
|
|
|
|
|
|
| |
1. Don't emit debug info, or other llvm.metadata to the .cbe.c file.
2. Mark static ctors/dtors as such, so that bugpoint works on C++ code
compiled with the new CFE.
llvm-svn: 26602
|
|
|
|
| |
llvm-svn: 26150
|
|
|
|
|
|
| |
still not quite right and will be fixed later.
llvm-svn: 25488
|
|
|
|
|
|
| |
PackedTypes as a side-effect.
llvm-svn: 25485
|
|
|
|
| |
llvm-svn: 25028
|
|
|
|
| |
llvm-svn: 24292
|
|
|
|
| |
llvm-svn: 24279
|
|
|
|
|
|
| |
quickly,not spending tons of time microoptimizing it. This is useful for an -O0style of build.
llvm-svn: 24233
|
|
|
|
|
|
| |
This fixes PR641
llvm-svn: 24154
|
|
|
|
| |
llvm-svn: 23475
|
|
|
|
|
|
|
|
| |
2. Propagate feature "string" to all targets.
3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget.
llvm-svn: 23192
|
|
|
|
|
|
| |
x%y for 'rem' on fp values.
llvm-svn: 22984
|
|
|
|
| |
llvm-svn: 22838
|
|
|
|
|
|
|
|
| |
Add parenthesis around the value being negated; that way, if the value
begins with a minus sign (e.g. negative integer), we won't generate a
C predecrement operator by mistake.
llvm-svn: 22437
|
|
|
|
|
|
| |
interface.
llvm-svn: 22282
|
|
|
|
|
|
| |
See last commit for LangRef, this implements it on all targets.
llvm-svn: 22273
|
|
|
|
| |
llvm-svn: 22254
|
|
|
|
| |
llvm-svn: 21740
|
|
|
|
| |
llvm-svn: 21739
|
|
|
|
| |
llvm-svn: 21379
|
|
|
|
| |
llvm-svn: 20689
|
|
|
|
| |
llvm-svn: 20673
|
|
|
|
| |
llvm-svn: 20599
|
|
|
|
| |
llvm-svn: 20598
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
|
|
|
| |
struct types. This fixes Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll,
a crash on Java output that Alkis reported.
llvm-svn: 20519
|
|
|
|
| |
llvm-svn: 20515
|
|
|
|
| |
llvm-svn: 20471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
double test(double l1_X) {
return (-l1_X);
}
instead of like this:
double test(double l1_X) {
return (-0x0p+0 - l1_X);
}
llvm-svn: 20423
|
|
|
|
|
|
|
|
|
|
|
|
| |
ltmp_0_7 = malloc(((unsigned )(&(((signed char (*)[784])/*NULL*/0)[1u]))));
Instead, just emit the literal constant, like this:
ltmp_0_7 = malloc(784u);
This works around a bug in ICC 8.1 compiling the CBE generated code. :-(
llvm-svn: 20415
|
|
|
|
| |
llvm-svn: 20380
|
|
|
|
|
|
| |
Justin Wick!
llvm-svn: 20378
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
void %test(int** %P) {
%A = volatile load int** %P
ret void
}
void %test2(int*** %Q) {
%P = load int*** %Q
volatile store int** %P, int*** %Q
ret void
}
instead of emitting:
void test(int **l1_P) {
int *l2_A;
l2_A = (int **((volatile int **)l1_P));
return;
}
void test2(int ***l2_Q) {
int **l1_P;
l1_P = *l2_Q;
*((volatile int ***)l2_Q) = l1_P;
return;
}
... which is loading/storing volatile pointers, not through volatile pointers,
emit this (which is right):
void test(int **l1_P) {
int *l3_A;
l3_A = *((int * volatile*)l1_P);
return;
}
void test2(int ***l2_Q) {
int **l1_P;
l1_P = *l2_Q;
*((int ** volatile*)l2_Q) = l1_P;
return;
}
llvm-svn: 20191
|
|
|
|
| |
llvm-svn: 20179
|