- Feb 12, 2011
-
-
Rafael Espindola authored
llvm-svn: 125420
-
- Feb 11, 2011
-
-
Chris Lattner authored
llvm-svn: 125412
-
Benjamin Kramer authored
llvm-svn: 125411
-
Chris Lattner authored
unsigned overflow (e.g. "gep P, -1"), and while they can have signed wrap in theoretical situations, modelling an AddRec as not having signed wrap is going enough for any case we can think of today. In the future if this isn't enough, we can revisit this. Modeling them as having NUW isn't causing any known problems either FWIW. llvm-svn: 125410
-
Chris Lattner authored
unsigned overflow (e.g. due to a negative array index), but the scales on array size multiplications are known to not sign wrap. llvm-svn: 125409
-
Jim Grosbach authored
llvm-svn: 125408
-
Zhanyong Wan authored
on the host OS. Reviewed by dgregor. llvm-svn: 125406
-
Nate Begeman authored
This avoids moving each element to the integer register file and calling __divsi3 etc. on it. llvm-svn: 125402
-
Nadav Rotem authored
that the condition is not a vector. llvm-svn: 125398
-
Nadav Rotem authored
Add more folding patterns to constant expressions of vector selects and vector bitcasts. llvm-svn: 125393
-
Nadav Rotem authored
Fix #9190 The bug happens when the DAGCombiner attempts to optimize one of the patterns of the SUB opcode. It tries to create a zero of type v2i64. This type is legal on 32bit machines, but the initializer of this vector (i64) is target dependent. Currently, the initializer attempts to create an i64 zero constant, which fails. Added a flag to tell the DAGCombiner to create a legal zero, if we require that the pass would generate legal types. llvm-svn: 125391
-
Nadav Rotem authored
llvm-svn: 125389
-
Jim Grosbach authored
llvm-svn: 125388
-
Jim Grosbach authored
llvm-svn: 125385
-
Douglas Gregor authored
objects, since they'll end up using the implicit conversion to "bool" and causing some very "fun" surprises. llvm-svn: 125380
-
Cameron Zwarich authored
a loop when unswitching it. It only does this in the complex case, because everything should be fine already in the simple case. llvm-svn: 125369
-
Cameron Zwarich authored
llvm-svn: 125368
-
Chris Lattner authored
llvm-svn: 125367
-
Chris Lattner authored
flag. Noticed by Jin Gu Kang! llvm-svn: 125366
-
Chris Lattner authored
as other constantexpr flags, reducing redundancy. llvm-svn: 125365
-
Rafael Espindola authored
llvm-svn: 125363
-
Daniel Dunbar authored
llvm-svn: 125361
-
Evan Cheng authored
This define float @foo(float %x, float %y) nounwind readnone { entry: %0 = tail call float @copysignf(float %x, float %y) nounwind readnone ret float %0 } Was compiled to: vmov s0, r1 bic r0, r0, #-2147483648 vmov s1, r0 vcmpe.f32 s0, #0 vmrs apsr_nzcv, fpscr it lt vneglt.f32 s1, s1 vmov r0, s1 bx lr This fails to copy the sign of -0.0f because it's lost during the float to int conversion. Also, it's sub-optimal when the inputs are in GPR registers. Now it uses integer and + or operations when it's profitable. And it's correct! lsrs r1, r1, #31 bfi r0, r1, #31, #1 bx lr rdar://8984306 llvm-svn: 125357
-
Jim Grosbach authored
llvm-svn: 125327
-
Cameron Zwarich authored
llvm-svn: 125325
-
Nick Lewycky authored
passes. Fixes PR9112. Patch by Jakub Staszak! llvm-svn: 125319
-
Cameron Zwarich authored
iv-users twice. llvm-svn: 125318
-
Cameron Zwarich authored
llvm-svn: 125317
-
Bruno Cardoso Lopes authored
llvm-svn: 125316
-
David Greene authored
[AVX] Implement 256-bit vector lowering for SCALAR_TO_VECTOR. This largely completes support for 128-bit fallback lowering for code that is not 256-bit ready. llvm-svn: 125315
-
- Feb 10, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 125305
-
Owen Anderson authored
llvm-svn: 125304
-
Bruno Cardoso Lopes authored
Fix a lot of o32 CC issues and add a bunch of tests. Patch by Akira Hatanaka with some small modifications by me. llvm-svn: 125292
-
David Greene authored
[AVX] Implement 256-bit vector lowering for EXTRACT_VECTOR_ELT. llvm-svn: 125284
-
Che-Liang Chiou authored
llvm-svn: 125279
-
NAKAMURA Takumi authored
Unixen and Cygwin do not need it. llvm-svn: 125277
-
NAKAMURA Takumi authored
llvm-svn: 125274
-
NAKAMURA Takumi authored
llvm-svn: 125273
-
NAKAMURA Takumi authored
llvm-svn: 125272
-
Chris Lattner authored
gep to explicit addressing, we know that none of the intermediate computation overflows. This could use review: it seems that the shifts certainly wouldn't overflow, but could the intermediate adds overflow if there is a negative index? Previously the testcase would instcombine to: define i1 @test(i64 %i) { %p1.idx.mask = and i64 %i, 4611686018427387903 %cmp = icmp eq i64 %p1.idx.mask, 1000 ret i1 %cmp } now we get: define i1 @test(i64 %i) { %cmp = icmp eq i64 %i, 1000 ret i1 %cmp } llvm-svn: 125271
-