| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
up by the dynamic linker, but it's better to use the correct instruction
to begin with.
Fixes rdar://9011034
llvm-svn: 126176
|
| |
|
|
| |
llvm-svn: 126171
|
| |
|
|
|
|
|
|
|
| |
registers
at phis. This enables us to eliminate a lot of pointless zexts during the DAGCombine
phase. This fixes <rdar://problem/8760114>.
llvm-svn: 126170
|
| |
|
|
|
|
| |
allows for the information propagated across basic blocks to be merged at phis.
llvm-svn: 126169
|
| |
|
|
|
|
| |
From Dimitry Andric.
llvm-svn: 126168
|
| |
|
|
|
|
| |
Patch by Jai Menon.
llvm-svn: 126165
|
| |
|
|
| |
llvm-svn: 126163
|
| |
|
|
|
|
| |
in a IT block. rdar://9030770
llvm-svn: 126159
|
| |
|
|
| |
llvm-svn: 126158
|
| |
|
|
| |
llvm-svn: 126157
|
| |
|
|
|
|
|
|
|
|
|
| |
LiveIns."
In other words, do not keep track of argument's location. The debugger (gdb) is not prepared to see line table entries for arguments. For the debugger, "second" line table entry marks beginning of function body.
This requires some coordination with debugger to get this working.
- The debugger needs to be aware of prolog_end attribute attached with line table entries.
- The compiler needs to accurately mark prolog_end in line table entries (at -O0 and at -O1+)
llvm-svn: 126155
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
terminate.
An original endpoint is an instruction that killed or defined the original live
range before any live ranges were split.
When splitting global live ranges, avoid creating local live ranges without any
original endpoints. We may still create global live ranges without original
endpoints, but such a range won't be split again, and live range splitting still
terminates.
llvm-svn: 126151
|
| |
|
|
|
|
|
|
| |
X86 instruction decode structure was being interpreted as
being in units of bits, although it is actually stored in
units of bytes.
llvm-svn: 126147
|
| |
|
|
| |
llvm-svn: 126141
|
| |
|
|
|
|
|
| |
ecosystem. This is a handy utility for checking changes before
committing them to the repository.
llvm-svn: 126136
|
| |
|
|
|
|
| |
that this doesn't break gold, but it seems reasonable to me.
llvm-svn: 126135
|
| |
|
|
| |
llvm-svn: 126132
|
| |
|
|
| |
llvm-svn: 126131
|
| |
|
|
| |
llvm-svn: 126130
|
| |
|
|
|
|
|
|
|
|
|
|
| |
itself without going via a phi node then we could return false here in
spite of making a change. Also, tweak the comment because this method
can (and always could) return true without deleting the original phi node.
For example, if the phi node was used by a read-only invoke instruction
which is used by another phi node phi2 which is only used by and only uses
the invoke, then phi2 would be deleted but not the invoke instruction and
not the original phi node.
llvm-svn: 126129
|
| |
|
|
|
|
| |
Radar 9012638.
llvm-svn: 126127
|
| |
|
|
|
|
| |
but which is responsible for us doing really bad things to 256.bzip2.
llvm-svn: 126126
|
| |
|
|
| |
llvm-svn: 126125
|
| |
|
|
|
|
|
|
| |
should be that if the phi is used by a side-effect free instruction with
no uses then the phi and the instruction now get zapped (checked by the
unittest).
llvm-svn: 126124
|
| |
|
|
|
|
|
| |
"dllimport" function must not be GlobalVariable, but Function. It is enough to check with GlobalValue.
test/CodeGen/X86/dll-linkage.ll is updated to check llc -O0.
llvm-svn: 126110
|
| |
|
|
| |
llvm-svn: 126108
|
| |
|
|
|
|
| |
It affects testing stuff on clang-standalone build.
llvm-svn: 126107
|
| |
|
|
| |
llvm-svn: 126106
|
| |
|
|
| |
llvm-svn: 126103
|
| |
|
|
| |
llvm-svn: 126102
|
| |
|
|
| |
llvm-svn: 126101
|
| |
|
|
|
|
| |
on Core 2 and Nehalem, so the code we generate is better than GCC's here.
llvm-svn: 126100
|
| |
|
|
|
|
| |
independent vectors.
llvm-svn: 126099
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
approximation
of a constant had a minor typo introduced when copying it from the book, which
caused it to favor negative approximations over positive approximations in many
cases. Positive approximations require fewer operations beyond the multiplication.
In the case of division by 3, we still generate code that is a single instruction
larger than GCC's code.
llvm-svn: 126097
|
| |
|
|
|
|
| |
Requires CMake 2.8.3 or newer.
llvm-svn: 126092
|
| |
|
|
|
|
| |
PR9245.
llvm-svn: 126091
|
| |
|
|
|
|
| |
used by the linker and not by nm or ar.
llvm-svn: 126089
|
| |
|
|
|
|
|
|
|
| |
test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds
any instructions to DCE, so delete the test.
Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode.
llvm-svn: 126088
|
| |
|
|
|
|
| |
libxul links in 7m0.403s.
llvm-svn: 126085
|
| |
|
|
|
|
| |
Visual Studio.
llvm-svn: 126083
|
| |
|
|
| |
llvm-svn: 126082
|
| |
|
|
|
|
|
|
|
| |
We usually catch this kind of optimization through InstSimplify's distributive
magic, but or doesn't distribute over xor in general.
"A | ~(A | B) -> A | ~B" hits 24 times on gcc.c.
llvm-svn: 126081
|
| |
|
|
|
|
|
|
| |
The DAGCombiner folds the zext into complex load instructions. This patch
prevents this optimization on vectors since none of the supported targets
knows how to perform load+vector_zext in one instruction.
llvm-svn: 126080
|
| |
|
|
|
|
| |
by Andrew Clinton!
llvm-svn: 126077
|
| |
|
|
|
|
|
| |
one Value set. This is faster because we only need to use the set when there
isn't already an entry in the map. No functionality change!
llvm-svn: 126076
|
| |
|
|
|
|
|
|
|
| |
since one needs to be a register operand. Just use movss instead of forcing
an operand into a register.
Fixes PR9239
llvm-svn: 126072
|
| |
|
|
|
|
|
|
|
|
|
|
| |
parallel with the rest of the tools directory as it depends on Clang.
This patch was first applied in r125956 and subsequently reverted in
r125964 as it broke in-tree builds. Makefile.rules was fixed up in
r126070 to handle missing optional directories for the in-tree case,
so it should be safe now to bring this patch back in.
llvm-svn: 126071
|
| |
|
|
|
|
|
| |
exist. This makes the build logic symmetric for both the in tree and
out of tree cases.
llvm-svn: 126070
|
| |
|
|
|
|
|
|
|
| |
of testing for its presence at cmake time.
This way the build automatically regenerates the makefiles when a svn
update brings in a new sublibrary.
llvm-svn: 126068
|
| |
|
|
| |
llvm-svn: 126065
|