- Jan 28, 2009
-
-
Duncan Sands authored
llvm-svn: 63198
-
- Jan 26, 2009
-
-
Mon P Wang authored
has a different number of elements than the output. llvm-svn: 62998
-
Chris Lattner authored
llvm-svn: 62985
-
Chris Lattner authored
handling the flaw inherent in that assumption. :) llvm-svn: 62984
-
Chris Lattner authored
llvm-svn: 62983
-
Chris Lattner authored
llvm-svn: 62982
-
- Jan 25, 2009
-
-
Nick Lewycky authored
llvm-svn: 62956
-
- Jan 24, 2009
-
-
Dale Johannesen authored
more accurate change loses more than it gains on benchmarks. llvm-svn: 62938
-
Torok Edwin authored
Also it was an empty struct, not a void after all. llvm-svn: 62920
-
Torok Edwin authored
Thus we need to check whether the struct is empty before trying to index into it. This fixes PR3381. llvm-svn: 62918
-
Dale Johannesen authored
Little practical effect. llvm-svn: 62908
-
Chris Lattner authored
handling the case in Transforms/InstCombine/cast-store-gep.ll, which is a heavily reduced testcase from Clang on x86-64. llvm-svn: 62904
-
- Jan 23, 2009
-
-
Gabor Greif authored
llvm-svn: 62877
-
Gabor Greif authored
There is now a direct way from value-use-iterator to incoming block in PHINode's API. This way we avoid the iterator->index->iterator trip, and especially the costly getOperandNo() invocation. Additionally there is now an assertion that the iterator really refers to one of the PHI's Uses. llvm-svn: 62869
-
- Jan 22, 2009
-
-
Gabor Greif authored
llvm-svn: 62788
-
- Jan 21, 2009
-
-
Chris Lattner authored
compatibility with cygwin. Patch by Jay Foad! llvm-svn: 62695
-
Dale Johannesen authored
Besides APFloat, this involved removing code from two places that thought they knew the result of frem(0., x) but were wrong. llvm-svn: 62645
-
- Jan 20, 2009
-
-
Chris Lattner authored
llvm-svn: 62561
-
Bill Wendling authored
llvm-svn: 62546
-
Chris Lattner authored
trapping instruction be executed unconditionally. llvm-svn: 62541
-
- Jan 19, 2009
-
-
Chris Lattner authored
llvm-svn: 62535
-
Chris Lattner authored
llvm-svn: 62529
-
Bill Wendling authored
llvm-gcc. Most likely, it's miscompiling one of the "gen*" programs: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./prev-gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./prev-gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.6.0/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -mdynamic-no-pic -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/build -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -o build/gencondmd.o build/gencondmd.c ../../llvm-gcc.src/gcc/config/i386/mmx.md:926: error: expected '}' before ')' token ../../llvm-gcc.src/gcc/config/i386/mmx.md:926: warning: excess elements in struct initializer ../../llvm-gcc.src/gcc/config/i386/mmx.md:926: warning: (near initialization for 'insn_conditions[4]') ../../llvm-gcc.src/gcc/config/i386/mmx.md:926: error: expected '}' before ')' token ../../llvm-gcc.src/gcc/config/i386/mmx.md:926: error: expected ',' or ';' before ')' token ../../llvm-gcc.src/gcc/config/i386/mmx.md:927: error: expected identifier or '(' before ',' token ../../llvm-gcc.src/gcc/config/i386/sse.md:3458: error: expected identifier or '(' before ',' token ... llvm-svn: 62506
-
Chris Lattner authored
we assumed a CFG structure that would be valid when all code in the function is reachable, but not all code is necessarily reachable. Do a simple, but horrible, CFG walk to check for this case. llvm-svn: 62487
-
Chris Lattner authored
llvm-svn: 62477
-
Chris Lattner authored
because of dead code, a phi could use the speculated instruction that was not in "BB2". Make this check explicit and tighten up some other corners. This fixes PR3292. No testcase becauase this depends entirely on visitation order of blocks and requires a sequence of 8 passes to repro. llvm-svn: 62476
-
Chris Lattner authored
check. No functionality change. llvm-svn: 62474
-
- Jan 18, 2009
-
-
-
Duncan Sands authored
doing very similar pointer capture analysis. Factor out the common logic. The new version is from FunctionAttrs since it does a better job than the version in BasicAliasAnalysis llvm-svn: 62461
-
Nick Lewycky authored
putc, puts, perror, vscanf and vsscanf from getting annotations. Add annotations for eight printf functions, memalign, pread and pwrite. On Linux, llvm-gcc sometimes renames strdup, getc, putc, strtok_r, scanf and sscanf. Match the alternate function names. Fix a crash annotating opendir. Don't mark fsetpos's second parameter as nocapture. It's supposed to be captured. Do mark fopen's path and mode strings as nocapture. Mark ferror as readonly, but not fileno which may set errno. llvm-svn: 62456
-
- Jan 17, 2009
-
-
Gabor Greif authored
llvm-svn: 62384
-
Gabor Greif authored
llvm-svn: 62377
-
- Jan 16, 2009
-
-
Chris Lattner authored
llvm-svn: 62351
-
Chris Lattner authored
llvm-svn: 62350
-
Evan Cheng authored
Clean up previous cast optimization a bit. Also make zext elimination a bit more aggressive: if it's not necessary to emit an AND (i.e. high bits are already zero), it's profitable to evaluate the operand at a different type. llvm-svn: 62297
-
- Jan 15, 2009
-
-
Rafael Espindola authored
llvm-svn: 62279
-
Gabor Greif authored
this fixes PR3332 llvm-svn: 62271
-
Evan Cheng authored
llvm-svn: 62264
-
Evan Cheng authored
- Looking at the number of sign bits of the a sext instruction to determine whether new trunc + sext pair should be added when its source is being evaluated in a different type. llvm-svn: 62263
-
- Jan 14, 2009
-
-
Chris Lattner authored
llvm-svn: 62244
-