| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-type-safe constant initializers. This sort of thing happens
quite a bit for 4-byte loads out of string constants, unions,
bitfields, and an interesting endianness check from sqlite, which
is something like this:
const int sqlite3one = 1;
# define SQLITE_BIGENDIAN (*(char *)(&sqlite3one)==0)
# define SQLITE_LITTLEENDIAN (*(char *)(&sqlite3one)==1)
# define SQLITE_UTF16NATIVE (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE)
all of these macros now constant fold away.
This implements PR3152 and is based on a patch started by Eli, but heavily
modified and extended.
llvm-svn: 84936
|
|
|
|
|
|
|
|
|
| |
allowing it to simplify the crazy constantexprs in the testcases
down to something sensible. This allows -std-compile-opts to
completely "devirtualize" the pointers to member functions in
the testcase from PR5176.
llvm-svn: 84368
|
|
|
|
| |
llvm-svn: 84367
|
|
|
|
| |
llvm-svn: 84364
|
|
|
|
| |
llvm-svn: 83338
|
|
|
|
| |
llvm-svn: 83295
|
|
|
|
| |
llvm-svn: 82389
|
|
|
|
| |
llvm-svn: 82386
|
|
|
|
|
|
| |
CHECK-NOT.
llvm-svn: 82383
|
|
|
|
| |
llvm-svn: 82378
|
|
|
|
|
|
| |
the hopes that the two bitcasts will merge.
llvm-svn: 82371
|
|
|
|
| |
llvm-svn: 82340
|
|
|
|
| |
llvm-svn: 81848
|
|
|
|
|
|
|
|
| |
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
llvm-svn: 81537
|
|
|
|
| |
llvm-svn: 81257
|
|
|
|
|
|
| |
of using llvm-as, now that opt supports this.
llvm-svn: 81226
|
|
|
|
| |
llvm-svn: 81081
|
|
|
|
| |
llvm-svn: 80769
|
|
|
|
|
|
|
| |
and we get the original pointer type. This doesn't mean that we're
at the first pointer being indexed. Correct the predicate.
llvm-svn: 80762
|
|
|
|
|
|
|
| |
these instructions, no autoupgrade or backwards compatibility support is
provided.
llvm-svn: 74991
|
|
|
|
| |
llvm-svn: 73839
|
|
|
|
| |
llvm-svn: 73835
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.
For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.
This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt
llvm-svn: 72897
|
|
|
|
| |
llvm-svn: 57625
|
|
|
|
|
|
| |
infinite recursion. part of PR2529
llvm-svn: 53383
|
|
|
|
|
|
| |
it for PR2529
llvm-svn: 53380
|
|
|
|
| |
llvm-svn: 53242
|
|
|
|
|
|
|
|
|
|
|
| |
1) evaluate [v]fcmp true/false with undefs to true or false instead
of undef.
2) fix vector comparisons with undef to return a vector result instead
of i1
3) fix vector comparisons with evaluatable results to return vector
true/false instead of i1 true/false (PR2529)
llvm-svn: 53220
|
|
|
|
| |
llvm-svn: 51349
|
|
|
|
|
|
| |
renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too.
llvm-svn: 51328
|
|
|
|
| |
llvm-svn: 47793
|
|
|
|
| |
llvm-svn: 44296
|
|
|
|
|
|
| |
representable to use hex format.
llvm-svn: 41722
|
|
|
|
| |
llvm-svn: 41097
|
|
|
|
| |
llvm-svn: 37801
|
|
|
|
|
|
|
|
| |
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.
llvm-svn: 36142
|
|
|
|
|
|
| |
Fix syntax of tests to ensure grep pattern is properly quoted.
llvm-svn: 36134
|
|
|
|
| |
llvm-svn: 36029
|
|
|
|
|
|
| |
Convert to new test system. This exposes test/Transforms/ConstProp/calls.ll
llvm-svn: 36027
|
|
|
|
|
|
|
|
| |
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
|
|
|
|
| |
llvm-svn: 34547
|
|
|
|
| |
llvm-svn: 33947
|
|
llvm-svn: 33296
|