- Dec 29, 2010
-
-
NAKAMURA Takumi authored
llvm-svn: 122620
-
- Nov 29, 2010
-
-
Frits van Bommel authored
llvm-svn: 120316
-
- Nov 14, 2010
-
-
Chris Lattner authored
llvm-svn: 119033
-
Chris Lattner authored
llvm-svn: 119032
-
Chris Lattner authored
llvm-svn: 119031
-
- Oct 14, 2010
-
-
Chris Lattner authored
llvm-svn: 116462
-
Chris Lattner authored
llvm-svn: 116461
-
Chris Lattner authored
logic to use the new APInt methods. Among other things this implements rdar://8501501 - llvm.smul.with.overflow.i32 should constant fold which comes from "clang -ftrapv", originally brought to my attention from PR8221. llvm-svn: 116457
-
- Sep 03, 2010
-
-
Chris Lattner authored
llvm-svn: 112889
-
- Feb 01, 2010
-
-
Chris Lattner authored
evaluateICmpRelation wasn't handling blockaddress. llvm-svn: 94993
-
- Jan 21, 2010
-
-
Nick Lewycky authored
if one of the vectors didn't have elements (such as undef). Fixes PR 6096. Fix an issue in the constant folder where fcmp (<2 x %ty>, <2 x %ty>) would have <2 x i1> type if constant folding was successful and i1 type if it wasn't. This exposed a related issue in the bitcode reader. llvm-svn: 94069
-
- Jan 08, 2010
-
-
Chris Lattner authored
result int by 8 for the first byte. While normally harmless, if the result is smaller than a byte, this shift is invalid. llvm-svn: 93018
-
- Dec 04, 2009
-
-
Chris Lattner authored
folding a load from constant. llvm-svn: 90545
-
- Oct 26, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 85171
-
- Oct 24, 2009
-
-
Chris Lattner authored
Duncan for the nice tiny testcase. llvm-svn: 84992
-
- Oct 23, 2009
-
-
Chris Lattner authored
implements something out of Target/README.txt producing: _foo: ## @foo movl 4(%esp), %eax movapd LCPI1_0, %xmm0 movapd %xmm0, (%eax) ret $4 instead of: _foo: ## @foo movl 4(%esp), %eax movapd _b, %xmm0 mulpd LCPI1_0, %xmm0 addpd _a, %xmm0 movapd %xmm0, (%eax) ret $4 llvm-svn: 84942
-
Chris Lattner authored
bytes (i256). llvm-svn: 84941
-
Chris Lattner authored
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
-
- Oct 17, 2009
-
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 84367
-
Chris Lattner authored
llvm-svn: 84364
-
- Oct 06, 2009
-
-
Evan Phoenix authored
llvm-svn: 83338
-
- Oct 05, 2009
-
-
Chris Lattner authored
llvm-svn: 83295
-
- Sep 20, 2009
-
-
Nick Lewycky authored
llvm-svn: 82389
-
Nick Lewycky authored
llvm-svn: 82386
-
Nick Lewycky authored
CHECK-NOT. llvm-svn: 82383
-
Nick Lewycky authored
llvm-svn: 82378
-
Nick Lewycky authored
the hopes that the two bitcasts will merge. llvm-svn: 82371
-
Nick Lewycky authored
llvm-svn: 82340
-
- Sep 15, 2009
-
-
Chris Lattner authored
llvm-svn: 81848
-
- Sep 11, 2009
-
-
Dan Gohman authored
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
-
- Sep 09, 2009
-
-
Dan Gohman authored
llvm-svn: 81257
-
- Sep 08, 2009
-
-
Dan Gohman authored
of using llvm-as, now that opt supports this. llvm-svn: 81226
-
- Sep 05, 2009
-
-
Daniel Dunbar authored
llvm-svn: 81081
-
- Sep 02, 2009
-
-
Chris Lattner authored
llvm-svn: 80769
-
Chris Lattner authored
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
-
- Jul 08, 2009
-
-
Nick Lewycky authored
these instructions, no autoupgrade or backwards compatibility support is provided. llvm-svn: 74991
-
- Jun 21, 2009
-
-
Nick Lewycky authored
llvm-svn: 73839
-
Chris Lattner authored
llvm-svn: 73835
-
- Jun 05, 2009
-
-
Dan Gohman authored
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
-