- Nov 18, 2014
-
-
Colin LeMahieu authored
llvm-svn: 222274
-
Ismail Pazarbasi authored
llvm-svn: 222273
-
Chad Rosier authored
shift-right for booleans (i1). Arithmetic shift-right immediate with sign-/zero-extensions also works for boolean values. Update the assert and the test cases to reflect that fact. llvm-svn: 222272
-
Eric Christopher authored
llvm-svn: 222271
-
Chad Rosier authored
shift-right for booleans (i1). Logical shift-right immediate with sign-/zero-extensions also works for boolean values. Update the assert and the test cases to reflect that fact. llvm-svn: 222270
-
Eric Christopher authored
llvm-svn: 222269
-
Eric Christopher authored
llvm-svn: 222268
-
Justin Bogner authored
llvm-svn: 222267
-
Nick Kledzik authored
When fixing up BL instructions, the linker has to compare the thumbness of the target to decide if the instruction needs to be converted to BLX. But with B instruction there is no BX, so the linker asserts if the target is not the same thumbness. This assert was firing in -r mode when the target was undefined which it interpreted as being non-thumb. Test case change is to add a B (in both thumb and arm code) to an undefined symbol and round trip through -r mode. llvm-svn: 222266
-
David Majnemer authored
We would attempt to replace an frem's operand with the same operand. This would cause InstCombine to think real work was done, causing InstCombine to enter an infinite loop. This fixes the second part of PR21576. llvm-svn: 222265
-
Fariborz Jahanian authored
nonnull attribute when comparison is always true/false. Original patch by Steven Wu. I have added extra code to prevent issuing of warning when the nonnull parameter is modified prior to the comparison. This addition prevents false positives in the most obvious cases. There may still be false positive warnings in some cases (as one of my tests indicates), but benefit far outweighs such cases. rdar://18712242 llvm-svn: 222264
-
Colin LeMahieu authored
Renaming test files. llvm-svn: 222263
-
Ismail Pazarbasi authored
SWIG is searched under certain paths within python script. CMake can detect SWIG with find_package(SWIG). This is used iff user checks LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION. If buildSwigWrapperClasses.py does not receive swigExecutable argument, then the script will use its current search implementation. llvm-svn: 222262
-
David Majnemer authored
This reverts commit r222203, reverting r222040 didn't end up turning the bot green. llvm-svn: 222261
-
Eric Fiselier authored
llvm-svn: 222260
-
Eric Fiselier authored
llvm-svn: 222259
-
Eric Fiselier authored
Summary: This will help in testing libc++ and libc++abi with tsan. Reviewers: samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D6283 llvm-svn: 222258
-
Juergen Ributzka authored
Shifts also perform sign-/zero-extends to larger types, which requires us to emit an integer extend instead of a simple COPY. Related to PR21594. llvm-svn: 222257
-
Matt Arsenault authored
This should expose more of the actually used VALU instructions to the machine optimization passes. This also should help getting i1 handling into a better state. For not entirly understood reasons, this fixes the split-scalar-i64-add.ll test where a 64-bit add would only partially be moved to the VALU resulting in use of undefined VCC. llvm-svn: 222256
-
Juergen Ributzka authored
"optimizeCompareInstr" converts compares (cmp/cmn) into plain sub/add instructions when the flags are not used anymore. This conversion is valid for most instructions, but not all. Some instructions that don't set the flags (e.g. sub with immediate) can set the SP, whereas the flag setting version uses the same encoding for the "zero" register. Update the code to also check for the return register before performing the optimization to make sure that a cmp doesn't suddenly turn into a sub that sets the stack pointer. I don't have a test case for this, because it isn't easy to trigger. llvm-svn: 222255
-
Owen Anderson authored
Patch by Daniil Troshkov! llvm-svn: 222254
-
Tom Stellard authored
llvm-svn: 222253
-
Eric Fiselier authored
Summary: This patch mirrors the recent change to libc++ found here http://reviews.llvm.org/D6277. This fixes PR20395 (http://llvm.org/bugs/show_bug.cgi?id=20395). Reviewers: jroelofs, mclow.lists, danalbert Reviewed By: danalbert Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6286 llvm-svn: 222252
-
Marshall Clow authored
llvm-svn: 222251
-
Chad Rosier authored
flags are cleared. The reassociation pass was just reordering the leaf nodes in the previous test cases. llvm-svn: 222250
-
Colin LeMahieu authored
Adding test to show correct instruction selection and encoding. llvm-svn: 222249
-
Chad Rosier authored
variable. NFC. llvm-svn: 222248
-
Juergen Ributzka authored
This change emits a COPY for a shift-immediate with a "zero" shift value. This fixes PR21594 where we emitted a shift instruction with an incorrect immediate operand. llvm-svn: 222247
-
Greg Clayton authored
llvm-svn: 222246
-
Ed Maste authored
llvm.org/21599 llvm-svn: 222245
-
Jozef Kolek authored
llvm-svn: 222244
-
Jim Ingham authored
Patch from dawn@burble.org to make the --silent-run do what it says, not the opposite of what it says. llvm-svn: 222243
-
Marshall Clow authored
llvm-svn: 222242
-
Philip Reames authored
EarlyCSE is giving up on the current instruction immediately when it recognizes that the current instruction makes a previous store trivially dead. There's no reason to do this. Once the previous store has been deleted, it's perfectly legal to remember the value of the current store (for value forwarding) and the fact the store occurred (it could be dead too!). Reviewed by: Hal Differential Revision: http://reviews.llvm.org/D6301 llvm-svn: 222241
-
Marshall Clow authored
Update status of LWG issues 2340, 2396 and 2401. In all three cases, these are things that we already do. llvm-svn: 222240
-
Manman Ren authored
llvm-svn: 222239
-
Marshall Clow authored
Since Eric poisoned the comma operator on all our test iterators, we no longer need 'comma_iterator'. Remove it from the test suite. llvm-svn: 222238
-
NAKAMURA Takumi authored
llvm-svn: 222237
-
Evgeniy Stepanov authored
It's not failing anymore. Not sure what has changed (the bot was down for a long time), but lets keep it this way. llvm-svn: 222236
-
Jeroen Ketema authored
Including a standard or system header isn't allowed in OpenCL. The type "size_t" needs to be explicitely defined now. v2: Use __SIZE_TYPE__ instead of unsigned int. v3: Define ptrdiff_t and NULL. Patch-by: Jean-Sébastien Pédron Reviewed-by: Jeroen Ketema Reviewed-by: Jan Vesely llvm-svn: 222235
-