aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2017-10-13[InstCombine] move code to remove repeated constant check; NFCISanjay Patel
2017-10-13[InstCombine] add hasOneUse check to add-zext-add fold to prevent increasing ...Sanjay Patel
2017-10-13[InstCombine] add tests for add (zext (add nuw X, C2)), C --> zext (add nuw X...Sanjay Patel
2017-10-13[InstCombine] allow zext(bool) + C --> select bool, C+1, C for vector typesSanjay Patel
2017-10-13[InstCombine] add tests for boolean extend + add; NFCSanjay Patel
2017-10-11[InstCombine] add baseline tests for D38531; NFCSanjay Patel
2017-10-10 Renable r314928Xinliang David Li
2017-10-06[InstCombine] use correct type when propagating constant condition in simplif...Sanjay Patel
2017-10-06Revert "Roll forward r314928"Reid Kleckner
2017-10-06Roll forward r314928Xinliang David Li
2017-10-05[InstCombine] improve folds for icmp gt/lt (shr X, C1), C2Sanjay Patel
2017-10-05revert r314698 - [InstCombine] remove one-use restriction for icmp (shr exact...Sanjay Patel
2017-10-05[InstCombine] Fix a vector splat handling bug in transformZExtICmp.Craig Topper
2017-10-05Revert r314928 to investigate thinLTO bootstrap failureXinliang David Li
2017-10-04[InstCombine] Improve support for ashr in foldICmpAndShiftCraig Topper
2017-10-04Recommit r314561 after fixing msan build failureXinliang David Li
2017-10-04[InstCombine] add 'exact' variants of all tests; NFCSanjay Patel
2017-10-03[InstCombine] add tests for icmp gt/lt (shr X, C1), C2; NFCSanjay Patel
2017-10-02[InstCombine] auto-generate complete checks; NFCSanjay Patel
2017-10-02[InstCombine] add icmp (shr X, Y), 0 test; NFCSanjay Patel
2017-10-02[InstCombine] remove one-use restriction for icmp (shr exact X, C1), C2 --> i...Sanjay Patel
2017-10-02[InstCombine] add icmp (lshr X, C1), C2 test; NFCSanjay Patel
2017-10-01Revert r314579: "Recommi r314561 after fixing over-debug assertion".Daniel Jasper
2017-09-30Recommi r314561 after fixing over-debug assertionXinliang David Li
2017-09-29Revert 314561 due to debug build assertion failureXinliang David Li
2017-09-29Eliminate PHI (int typed) which has only one use by intptrXinliang David Li
2017-09-27[InstCombine] Gating select arithmetic optimization.Chad Rosier
2017-09-26[InstCombine] Remove one use restriction on the shift for calls to foldICmpAn...Craig Topper
2017-09-26TargetLibraryInfo: Stop guessing wchar_t sizeMatthias Braun
2017-09-25[InstCombine] remove extract-of-select vector transform (2nd try)Sanjay Patel
2017-09-25revert r314117 because there are bogus clang tests that depend on the optimizerSanjay Patel
2017-09-25[InstCombine] remove extract-of-select vector transformSanjay Patel
2017-09-22[InstCombine] Teach foldICmpUsingKnownBits to simplify SLE/SGE/ULE/UGE to equ...Craig Topper
2017-09-22[InstCombine] Add test cases for known bits simplifications for comparisons t...Craig Topper
2017-09-22[InstCombine] Remove a FIXME from a test that was fixed in r314025.Craig Topper
2017-09-22[InstCombine] Add constant splat handling to one of the ICMP_SLT/SGT cases in...Craig Topper
2017-09-20[InstCombine] Teach getDemandedBitsLHSMask to handle constant splat vectorsCraig Topper
2017-09-20[InstCombine] Handle (X & C2) < C1 --> (X & C2) == 0Craig Topper
2017-09-20[InstCombine] Pre-commit test cases for D38065.Craig Topper
2017-09-20[InstCombine] Add select simplificationsQuentin Colombet
2017-09-18[InstCombine] auto-generate complete checks; NFCSanjay Patel
2017-09-16[X86] Remove VPERM2F128/VPERM2I128 intrinsics and autoupgrade to native shuff...Craig Topper
2017-09-15[ConstantFold] Return the correct type when folding a GEP with vector indices.Davide Italiano
2017-09-14[InstSimplify] fold sdiv/srem based on compare of dividend and divisorSanjay Patel
2017-09-13[InstCombine] Add a flag to disable LowerDbgDeclareReid Kleckner
2017-09-12[InstCombine] move related tests together; NFC Sanjay Patel
2017-09-09Merge isKnownNonNull into isKnownNonZeroNuno Lopes
2017-09-05[ValueTracking, InstCombine] canonicalize fcmp ord/uno with non-NAN ops to nu...Sanjay Patel
2017-09-05[InstCombine] add nnan tests; NFCSanjay Patel
2017-09-05[InstCombine] Add test cases for folding (select (icmp ne/eq (and X, C1), (bi...Craig Topper