- Mar 27, 2012
-
-
Lang Hames authored
copies being considered for removal. Make sure to track all of the copies, rather than just the most recent encountered, by holding a DenseSet instead of an unsigned in SrcMap. No test case - couldn't reduce something with a sane size. llvm-svn: 153487
-
Akira Hatanaka authored
llvm-svn: 153486
-
Evan Cheng authored
produces a 32-bit immediate which is consumed by the use. It tries to fold the immediate by breaking it into two parts and fold them into the immmediate fields of two uses. e.g movw r2, #40885 movt r3, #46540 add r0, r0, r3 => add.w r0, r0, #3019898880 add.w r0, r0, #30146560 ; However, this transformation is incorrect if the user produces a flag. e.g. movw r2, #40885 movt r3, #46540 adds r0, r0, r3 => add.w r0, r0, #3019898880 adds.w r0, r0, #30146560 Note the adds.w may not set the carry flag even if the original sequence would. rdar://11116189 llvm-svn: 153484
-
Lang Hames authored
llvm-svn: 153483
-
Andrew Trick authored
Fixes PR11882: NULL dereference in ComputeLoadConstantCompareExitLimit. llvm-svn: 153480
-
Bill Wendling authored
llvm-svn: 153479
-
- Mar 26, 2012
-
-
Eric Christopher authored
Patch by Ojab. llvm-svn: 153476
-
Andrew Trick authored
llvm-svn: 153472
-
Eric Christopher authored
backtrace locations. Testcase forthcoming, but I wanted to get some testing here. Should fix: PR12323 PR12314 rdar://11091100 llvm-svn: 153471
-
Nadav Rotem authored
153465 was incorrect. In this code we wanted to check that the pointer operand is of pointer type (and not vector type). llvm-svn: 153468
-
Sean Callanan authored
relocations. The algorithm is the same as that for x86_64. Scattered relocations, a feature present in i386 but not on x86_64, are not yet supported. llvm-svn: 153466
-
Nadav Rotem authored
llvm-svn: 153465
-
Andrew Trick authored
Fixes PR11950. llvm-svn: 153463
-
Andrew Trick authored
llvm-svn: 153462
-
Chris Lattner authored
llvm-svn: 153458
-
Chris Lattner authored
llvm-svn: 153457
-
Eric Christopher authored
llvm-svn: 153456
-
Eric Christopher authored
llvm-svn: 153455
-
Chad Rosier authored
Original commit message: Use the new range metadata in computeMaskedBits and add a new optimization to instruction simplify that lets us remove an and when loading a boolean value. llvm-svn: 153452
-
Andrew Trick authored
Thanks Andrey. llvm-svn: 153451
-
Daniel Dunbar authored
llvm-svn: 153450
-
Kostya Serebryany authored
[tsan] treat vtable pointer updates in a special way (requires tbaa); fix a bug (forgot to return true after instrumenting); make sure the tsan tests are run llvm-svn: 153448
-
Benjamin Kramer authored
llvm-svn: 153438
-
Douglas Gregor authored
llvm-svn: 153436
-
Anton Korobeynikov authored
Patch by Sylvestre Ledru! llvm-svn: 153435
-
Benjamin Kramer authored
llvm-svn: 153433
-
Benjamin Kramer authored
llvm-svn: 153432
-
Craig Topper authored
llvm-svn: 153429
-
Eric Christopher authored
llvm-svn: 153428
-
Eric Christopher authored
--enable-libcpp to projects/sample. Patch by Dmitri Shubin with additional fixes by me. llvm-svn: 153425
-
Eric Christopher authored
Fixes PR12050 llvm-svn: 153424
-
Rafael Espindola authored
instruction simplify that lets us remove an and when loding a boolean value. llvm-svn: 153423
-
Craig Topper authored
llvm-svn: 153422
-
Craig Topper authored
llvm-svn: 153421
-
- Mar 25, 2012
-
-
Chandler Carruth authored
constant-offsets of a common base using the generic GEP-walking logic I added for computing pointer differences in the same situation. llvm-svn: 153419
-
Chandler Carruth authored
inbounds GEPs. This isn't really necessary for simplifying pointer differences, but I'm planning to re-use the same code to simplify pointer comparisons where it is necessary. Since real code almost exclusively uses inbounds GEPs, it doesn't seem worth it to support the extra complexity of turning it on and off. If anyone would like that back, feel free to shout. Note that instcombine will still catch any of these patterns. llvm-svn: 153418
-
Craig Topper authored
llvm-svn: 153415
-
Craig Topper authored
llvm-svn: 153414
-
Eli Bendersky authored
llvm-svn: 153412
-
Rafael Espindola authored
Thanks Duncan. llvm-svn: 153411
-