- Mar 28, 2010
-
-
Devang Patel authored
llvm-svn: 99778
-
Chris Lattner authored
llvm-svn: 99774
-
Devang Patel authored
llvm-svn: 99772
-
Chris Lattner authored
llvm-svn: 99770
-
Anton Korobeynikov authored
Otherwise, e.g. in the invocation like clang -DFOO=\"bar\" FOO macro got the bar value, not "bar". Patch by Alexander Esilevich! llvm-svn: 99763
-
Torok Edwin authored
SELinux doesn't allow 'execmem', returning MAP_FAILED and 'Permission denied' for mmap or RWX memory. In this case AllocateRWX was returning a MemoryBlock with uninitialized fields, which sometimes caused crashes. This patch initializes MemoryBlock fields to 0, so that the RWX-failure check works. It doesn't fix the SELinux 'execmem' issues though (the JIT will not work when SELinux is in enforcing mode). llvm-svn: 99762
-
Chris Lattner authored
where an incorrect number of operands is provided to an sdnode instead of just a few cases. llvm-svn: 99761
-
Chris Lattner authored
llvm-svn: 99760
-
Chris Lattner authored
and those derived from them. These are obnoxious because they were written as: PatLeaf<(bitconvert). Not having an argument was foiling adding better type checking for operand count matching up with what was required (in this case, bitconvert always requires an operand!) llvm-svn: 99759
-
Chris Lattner authored
matchable: it seems like it would always constant fold. llvm-svn: 99758
-
Chris Lattner authored
this also depends on the new "bitconvert dropping" behavior just added to tblgen. llvm-svn: 99757
-
Chris Lattner authored
transforming it into (add (i32 GPR), 4). This allows us to write type generic multi patterns and have tblgen automatically drop the bitconvert in the case when the types align. This allows us to fold an extra load in the changed testcase. llvm-svn: 99756
-
Chris Lattner authored
llvm-svn: 99755
-
Chris Lattner authored
input to be v8i8 or v16i8, which buildvectors get canonicalized to. This allows the patterns that were previously using a bare 'vnot' to match, before they couldn't. llvm-svn: 99754
-
Chris Lattner authored
patterns that would never match because of bitcast, and eliminating use of vnot_conv. llvm-svn: 99753
-
Chris Lattner authored
llvm-svn: 99752
-
Chris Lattner authored
llvm-svn: 99751
-
Chris Lattner authored
llvm-svn: 99750
-
Chris Lattner authored
*input* of other type, which is the VT. llvm-svn: 99749
-
Chris Lattner authored
llvm-svn: 99748
-
Chris Lattner authored
llvm-svn: 99747
-
Chris Lattner authored
by rotating it. llvm-svn: 99746
-
Chris Lattner authored
llvm-svn: 99745
-
Chris Lattner authored
llvm-svn: 99744
-
Chris Lattner authored
llvm-svn: 99743
-
Chris Lattner authored
llvm-svn: 99742
-
Chris Lattner authored
are cleaned up, we can remove an old fixme. llvm-svn: 99741
-
Chris Lattner authored
1, 1 cases which are by-far the most frequent. This shrinks the X86 isel table from 77014 -> 74657 bytes. llvm-svn: 99740
-
Chris Lattner authored
can cause a crash on crazy situations in msp430 when morph-node-to is disabled. llvm-svn: 99739
-
Chris Lattner authored
their flags correctly. llvm-svn: 99738
-
Chris Lattner authored
llvm-svn: 99737
-
Chris Lattner authored
nodes all have an EFLAGS result when made by isel lowering. llvm-svn: 99736
-
Chris Lattner authored
list multiple times when MorphNodeTo can't be applied. llvm-svn: 99735
-
Jeffrey Yasskin authored
Type::destroy(), so it got skipped for FunctionTypes, StructTypes, and UnionTypes. This fixes the resulting leaks in test/Feature/opaquetypes.ll and test/Integer/opaquetypes_bt.ll. llvm-svn: 99732
-
- Mar 27, 2010
-
-
Chris Lattner authored
issues to get here. We now trim the result type list of the CompleteMatch or MorphNodeTo operation to be the same size as the thing we're matching. this means that if you match (add GPR, GPR) with an instruction that produces a normal result and a flag that we now trim the result in tblgen instead of having to do it dynamically. This exposed a bunch of inconsistencies in result counting that happened to be getting lucky since the days of the old isel. llvm-svn: 99728
-
Chris Lattner authored
same vt multiple times for a register. For example, ECX is in 5 different i32 reg classes, just return 1 i32 instead of 5. llvm-svn: 99727
-
Chris Lattner authored
from two places in CodeGenDAGPatterns.cpp, and use it in DAGISelMatcherGen.cpp instead of using an incorrect predicate that happened to get lucky on our current targets. llvm-svn: 99726
-
Chris Lattner authored
results forward. We can now handle an instruction that produces one implicit def and one result instead of one or the other when not at the root of the pattern. llvm-svn: 99725
-
Chris Lattner authored
scope due to obviously false predicate. llvm-svn: 99723
-
Chris Lattner authored
the index comments nested under OPC_SwitchOpcode were off by one. This fixes the comments. llvm-svn: 99722
-