- Jun 04, 2008
-
-
Owen Anderson authored
llvm-svn: 51922
-
- Jun 03, 2008
-
-
Scott Michel authored
llvm-svn: 51917
-
Owen Anderson authored
Don't crash when we encounter one of these. llvm-svn: 51915
-
Dale Johannesen authored
llvm-svn: 51910
-
Dale Johannesen authored
assembler names of string constants look like. llvm-svn: 51909
-
Scott Michel authored
llvm-svn: 51904
-
Bruno Cardoso Lopes authored
the solution commited is different from the previous patch to avoid int and unsigned comparison llvm-svn: 51899
-
Evan Cheng authored
llvm-svn: 51898
-
Scott Michel authored
llvm-svn: 51897
-
Devang Patel authored
"Unable to handle Pass that requires lower level Analysis pass" llvm-svn: 51892
-
Devang Patel authored
llvm-svn: 51891
-
Dan Gohman authored
llvm-svn: 51890
-
Dan Gohman authored
llvm-svn: 51889
-
Devang Patel authored
llvm-svn: 51887
-
Dan Gohman authored
for dagcombine to do this. llvm-svn: 51886
-
Scott Michel authored
constant shows up in the assembly language output. Helps with debugging without a HP calculator having to be handy. llvm-svn: 51885
-
Scott Michel authored
issue is operand promotion for setcc/select... but looks like the fundamental stuff is implemented for CellSPU. llvm-svn: 51884
-
- Jun 02, 2008
-
-
Dan Gohman authored
and insertvalue and extractvalue instructions. First-class array values are not trivial because C doesn't support them. The approach I took here is to wrap all arrays in structs. Feedback is welcome. The 2007-01-15-NamedArrayType.ll test needed to be modified because it has a "not grep" for a string that now exists, because array types now have associated struct types, and those struct types have names. llvm-svn: 51881
-
Chris Lattner authored
llvm-svn: 51878
-
Owen Anderson authored
llvm-svn: 51876
-
Wojciech Matyjewicz authored
is longer than the second one) should stop after finding one. Added break instruction guarantees it. It also changes difference between offsets to absolute value of this difference in the condition. llvm-svn: 51875
-
Rafael Espindola authored
llvm-svn: 51865
-
Chris Lattner authored
llvm-svn: 51864
-
Chris Lattner authored
out of instcombine into a new file in libanalysis. This also teaches ComputeNumSignBits about the number of sign bits in a constantint. llvm-svn: 51863
-
Owen Anderson authored
char a[200]; init(a, a+200); OR int a[200]; char* b = (char*)a; char* c = (char*)a; foo(b, c); llvm-svn: 51850
-
- Jun 01, 2008
-
-
Owen Anderson authored
llvm-svn: 51848
-
Owen Anderson authored
llvm-svn: 51846
-
Owen Anderson authored
llvm-svn: 51845
-
Duncan Sands authored
the conditions for performing the transform when only the function declaration is available: no longer allow turning i32 into i64 for example. Only allow changing between pointer types, and between pointer types and integers of the same size. For return values ptr -> intptr was already allowed; I added ptr -> ptr and intptr -> ptr while there. As shown by a recent objc testcase, changing the way parameters/return values are passed can be fatal when calling code written in assembler that directly manipulates call arguments and return values unless the transform has no impact on the way they are passed at the codegen level. While it is possible to imagine an ABI that treats integers of pointer size differently to pointers, I don't think LLVM supports any so the transform should now be safe while still being useful. llvm-svn: 51834
-
Bruno Cardoso Lopes authored
llvm-svn: 51833
-
- May 31, 2008
-
-
Dan Gohman authored
now round-trip through assembly and bitcode. llvm-svn: 51823
-
Dan Gohman authored
llvm-svn: 51822
-
Dan Gohman authored
llvm-svn: 51820
-
Nick Lewycky authored
llvm-svn: 51819
-
Nick Lewycky authored
llvm-svn: 51818
-
Nick Lewycky authored
llvm-svn: 51817
-
Nick Lewycky authored
llvm-svn: 51816
-
Chris Lattner authored
we did not truncate the value down to i1 with (x&1). This caused a problem when the computation of x was nontrivial, for example, "add i1 1, 1" would return 2 instead of 0. This makes the testcase compile into: ... llvm_cbe_t = (((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u))&1); llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t)); ... instead of: ... llvm_cbe_t = ((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u)); llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t)); ... This fixes a miscompilation of mediabench/adpcm/rawdaudio/rawdaudio and 403.gcc with the CBE, regressions from LLVM 2.2. Tanya, please pull this into the release branch. llvm-svn: 51813
-
Dan Gohman authored
getSwappedPredicate, from ICmpInst and FCmpInst into common methods in CmpInst. This allows CmpInsts to be manipulated generically. llvm-svn: 51810
-
Dan Gohman authored
index for the input pattern in terms of the output pattern. Instead keep track of how many fixed operands the input pattern actually has, and have the input matching code pass the output-emitting function that index value. This simplifies the code, disentangles variables_ops from the support for predication operations, and makes variable_ops more robust. llvm-svn: 51808
-