| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 63021
|
| |
|
|
|
|
| |
Eliminate the StringMap.
llvm-svn: 63009
|
| |
|
|
| |
llvm-svn: 63008
|
| |
|
|
|
|
| |
has a different number of elements than the output.
llvm-svn: 62998
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tidy up SDUse and related code.
- Replace the operator= member functions with a set method, like
LLVM Use has, and variants setInitial and setNode, which take
care up updating use lists, like LLVM Use's does. This simplifies
code that calls these functions.
- getSDValue() is renamed to get(), as in LLVM Use, though most
places can either use the implicit conversion to SDValue or the
convenience functions instead.
- Fix some more node vs. value terminology issues.
Also, eliminate the one remaining use of SDOperandPtr, and
SDOperandPtr itself.
llvm-svn: 62995
|
| |
|
|
| |
llvm-svn: 62991
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename fcmp.ll test to fcmp32.ll, start adding new double tests to fcmp64.ll
- Fix select_bits.ll test
- Capitulate to the DAGCombiner and move i64 constant loads to instruction
selection (SPUISelDAGtoDAG.cpp).
<rant>DAGCombiner will insert all kinds of 64-bit optimizations after
operation legalization occurs and now we have to do most of the work that
instruction selection should be doing twice (once to determine if v2i64
build_vector can be handled by SelectCode(), which then runs all of the
predicates a second time to select the necessary instructions.) But,
CellSPU is a good citizen.</rant>
llvm-svn: 62990
|
| |
|
|
| |
llvm-svn: 62989
|
| |
|
|
| |
llvm-svn: 62988
|
| |
|
|
| |
llvm-svn: 62985
|
| |
|
|
|
|
| |
handling the flaw inherent in that assumption. :)
llvm-svn: 62984
|
| |
|
|
| |
llvm-svn: 62983
|
| |
|
|
| |
llvm-svn: 62982
|
| |
|
|
|
|
|
| |
other x86 segments. address space 0 is stack/default, 1-255 are reserved for
client use.
llvm-svn: 62980
|
| |
|
|
| |
llvm-svn: 62979
|
| |
|
|
| |
llvm-svn: 62976
|
| |
|
|
| |
llvm-svn: 62973
|
| |
|
|
|
|
| |
for example in the case of va-args. XFAIL associated tests.
llvm-svn: 62972
|
| |
|
|
|
|
| |
of PR3402.
llvm-svn: 62967
|
| |
|
|
|
|
|
|
|
|
|
| |
of each use in the SelectionDAG ReplaceAllUses* functions. Thanks
to Chris for spotting this opportunity.
Also, factor out code from all 5 of the ReplaceAllUses* functions
into AddNonLeafNodeToCSEMaps, which is now renamed
AddModifiedNodeToCSEMaps to more accurately reflect its purpose.
llvm-svn: 62964
|
| |
|
|
| |
llvm-svn: 62963
|
| |
|
|
|
|
|
| |
DeleteNodeNotInCSEMaps, since DeleteNode just calls
DeleteNodeNotInCSEMaps.
llvm-svn: 62962
|
| |
|
|
|
|
| |
code that rounded up and capped the size.
llvm-svn: 62958
|
| |
|
|
| |
llvm-svn: 62956
|
| |
|
|
| |
llvm-svn: 62955
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instruction are killed, but the first operand has a use before and after the def, commute if the second operand does not suffer from the same issue.
%reg1028<def> = EXTRACT_SUBREG %reg1027<kill>, 1
%reg1029<def> = MOV8rr %reg1028
%reg1029<def> = SHR8ri %reg1029, 7, %EFLAGS<imp-def,dead>
insert => %reg1030<def> = MOV8rr %reg1028
%reg1030<def> = ADD8rr %reg1028<kill>, %reg1029<kill>, %EFLAGS<imp-def,dead>
In this case, it might not be possible to coalesce the second MOV8rr
instruction if the first one is coalesced. So it would be profitable to
commute it:
%reg1028<def> = EXTRACT_SUBREG %reg1027<kill>, 1
%reg1029<def> = MOV8rr %reg1028
%reg1029<def> = SHR8ri %reg1029, 7, %EFLAGS<imp-def,dead>
insert => %reg1030<def> = MOV8rr %reg1029
%reg1030<def> = ADD8rr %reg1029<kill>, %reg1028<kill>, %EFLAGS<imp-def,dead>
llvm-svn: 62954
|
| |
|
|
| |
llvm-svn: 62940
|
| |
|
|
|
|
|
| |
more accurate change loses more than it gains on
benchmarks.
llvm-svn: 62938
|
| |
|
|
| |
llvm-svn: 62925
|
| |
|
|
|
|
| |
Also it was an empty struct, not a void after all.
llvm-svn: 62920
|
| |
|
|
|
|
|
| |
Thus we need to check whether the struct is empty before trying to index into
it. This fixes PR3381.
llvm-svn: 62918
|
| |
|
|
| |
llvm-svn: 62917
|
| |
|
|
|
|
| |
Little practical effect.
llvm-svn: 62908
|
| |
|
|
|
|
|
| |
handling the case in Transforms/InstCombine/cast-store-gep.ll, which
is a heavily reduced testcase from Clang on x86-64.
llvm-svn: 62904
|
| |
|
|
| |
llvm-svn: 62893
|
| |
|
|
|
|
|
|
|
|
|
|
| |
DW_AT_APPLE_flags.
DW_AT_APPLE_optimized flag is set when a compile_unit is optimized. The debugger takes advantage of this information some way.
DW_AT_APPLE_flags encodes command line options when certain env. variable is set. This is used by build engineers to track various gcc command lines used by by a project, irrespective of whether the project used makefile, Xcode or something else.
llvm-gcc patch is next.
llvm-svn: 62888
|
| |
|
|
| |
llvm-svn: 62887
|
| |
|
|
| |
llvm-svn: 62877
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
does not cause the owned module to be fully materialized.
llvm-svn: 62864
|
| |
|
|
| |
llvm-svn: 62861
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
testcase from PR3376, and in fact is sufficient to completely
avoid the problem in that testcase.
There's an underlying problem though; TLI.isOperationLegal
considers Custom to be Legal, which might be ok in some
cases, but that's what DAGCombiner is using in many places
to test if something is legal when LegalOperations is true.
When DAGCombiner is running after legalize, this isn't
sufficient. I'll address this in a separate commit.
llvm-svn: 62860
|
| |
|
|
|
|
| |
With this, sqlite3 now passes.
llvm-svn: 62839
|
| |
|
|
|
|
|
|
|
| |
This avoids using a dangling pointer.
Reset NumSortedEntries after restoring Cache to avoid extraneous sorts.
This fixes the reduced sqlite3 testcase, but apparently not the whole app.
llvm-svn: 62838
|
| |
|
|
|
|
| |
restrictive register class.
llvm-svn: 62837
|
| |
|
|
|
|
|
|
|
|
| |
restores that are just
going to be re-spilled again.
This also helps performance. Pre-alloc-splitting now seems to be an overall win on SPEC.
llvm-svn: 62834
|
| |
|
|
| |
llvm-svn: 62832
|
| |
|
|
| |
llvm-svn: 62828
|
| |
|
|
| |
llvm-svn: 62827
|
| |
|
|
|
|
| |
when there are multiple iterations of the loop. This fixes PR3375.
llvm-svn: 62822
|