- Sep 05, 2011
-
-
Nick Lewycky authored
llvm-svn: 139124
-
Nick Lewycky authored
llvm-svn: 139122
-
Benjamin Kramer authored
InstSimplify: Don't try to replace an extractvalue/insertvalue pair with the original value if types don't match. Fixes clang selfhost. llvm-svn: 139120
-
Duncan Sands authored
exception. llvm-svn: 139117
-
Duncan Sands authored
up do-nothing exception handling code produced by dragonegg. llvm-svn: 139113
-
Benjamin Kramer authored
- Drop support for X >u 0, it's equivalent to X != 0 and should be canonicalized into the latter. - Add X < 1 -> unlikely, which is what instcombine canonicalizes X <= 0 into. - Add X > -1 -> likely, which is what instcombine canonicalizes X >= 0 into. llvm-svn: 139110
-
- Sep 04, 2011
-
-
Bill Wendling authored
Use Duncan's patch to delete the instructions in reverse order (minus the landingpad and terminator). llvm-svn: 139090
-
Bill Wendling authored
call. The call may be in the same BB as the landingpad instruction. If that's the case, then inserting the loads after the landingpad inst, but before the extractvalues, causes undefined behavior. llvm-svn: 139088
-
- Sep 03, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139079
-
Bill Wendling authored
values that the resume instruction uses. PR10850 llvm-svn: 139076
-
Bruno Cardoso Lopes authored
the cycle of missing AVX counterparts of already present SSE* patterns llvm-svn: 139073
-
Bruno Cardoso Lopes authored
llvm-svn: 139072
-
Bruno Cardoso Lopes authored
llvm-svn: 139071
-
Bruno Cardoso Lopes authored
llvm-svn: 139070
-
Bruno Cardoso Lopes authored
llvm-svn: 139069
-
Bruno Cardoso Lopes authored
duplicate it for AVX mode. llvm-svn: 139068
-
Bruno Cardoso Lopes authored
llvm-svn: 139067
-
Bruno Cardoso Lopes authored
that the AVX versions (even the 128-bit ones) all clear the upper part of the destination register. llvm-svn: 139066
-
Bruno Cardoso Lopes authored
pattern should be matched llvm-svn: 139065
-
Bruno Cardoso Lopes authored
llvm-svn: 139064
-
Bruno Cardoso Lopes authored
it! llvm-svn: 139063
-
Bruno Cardoso Lopes authored
llvm-svn: 139062
-
Bruno Cardoso Lopes authored
llvm-svn: 139061
-
Bruno Cardoso Lopes authored
OptForSize pattern llvm-svn: 139060
-
Owen Anderson authored
If we have a chain of zext -> assert_zext -> zext -> use, the first zext would get simplified away because of the later zext, and then the later zext would get simplified away because of the assert. The solution is to teach SimplifyDemandedBits that assert_zext demands all of the high bits of its input, rather than only those demanded by its users. No testcase because the only example I have manifests as llvm-gcc miscompiling LLVM, and I haven't found a smaller case that reproduces this problem. Fixes <rdar://problem/10063365>. llvm-svn: 139059
-
Jakob Stoklund Olesen authored
The explanation about a 0 argument being materialized as xor is no longer valid. Rematerialization will check if EFLAGS is live before clobbering it. The code produced by X86TargetLowering::EmitLoweredSelect does not clobber EFLAGS. This causes one less testb instruction to be generated in the cmov.ll test case. llvm-svn: 139057
-
Jakob Stoklund Olesen authored
It is only allowed to clobber EFLAGS at the end of a block if it isn't live-in to any successor. llvm-svn: 139056
-
Jakob Stoklund Olesen authored
llvm-svn: 139055
-
Jim Grosbach authored
llvm-svn: 139053
-
Jim Grosbach authored
Tweak handling of IT blocks a bit to enable this. The differentiation between B and Bcc needs special sauce. llvm-svn: 139049
-
Jakob Stoklund Olesen authored
llvm-svn: 139047
-
Eli Friedman authored
llvm-svn: 139044
-
- Sep 02, 2011
-
-
Jim Grosbach authored
For other shift and rotate instructions, too. Tests for those forthcoming as I work my way through the ISA. llvm-svn: 139040
-
Andrew Trick authored
llvm-svn: 139036
-
Bill Wendling authored
slots. This fixes a bug where the number of nodes coming into the PHI node may not equal the number of predecessors. E.g., two or more landingpad instructions may require a PHI before reaching the eh.exception and eh.selector instructions. llvm-svn: 139035
-
Kevin Enderby authored
case those instructions that the immediate is not sign-extend. radr://8795217 llvm-svn: 139028
-
Jim Grosbach authored
llvm-svn: 139024
-
Bill Wendling authored
llvm-svn: 139023
-
Jim Grosbach authored
llvm-svn: 139022
-
Jim Grosbach authored
llvm-svn: 139021
-