Cameron McInally
66c25def00
[NFC][InstCombine] Add unary FNeg tests to fma.ll
...
llvm-svn: 362227
2019-05-31 14:49:31 +00:00
Eric Christopher
cee313d288
Revert "Temporarily Revert "Add basic loop fusion pass.""
...
The reversion apparently deleted the test/Transforms directory.
Will be re-reverting again.
llvm-svn: 358552
2019-04-17 04:52:47 +00:00
Eric Christopher
a863435128
Temporarily Revert "Add basic loop fusion pass."
...
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
2019-04-17 02:12:23 +00:00
Sanjay Patel
2204520e49
[PatternMatch] define m_FNeg using m_FSub
...
Using cstfp_pred_ty in the definition allows us to match vectors with undef elements.
This replicates the change for m_Not from D44076 / rL326823 and continues
towards making all pattern matchers allow undef elements in vectors.
llvm-svn: 329303
2018-04-05 15:36:55 +00:00
Sanjay Patel
2eaa2a43f8
[InstCombine] add vector and vector undef tests for FP folds; NFC
...
llvm-svn: 329294
2018-04-05 15:07:35 +00:00
Simon Pilgrim
5f022d278b
[InstCombine] Regenerate FMUL/FMA combine tests with update_test_checks.py
...
llvm-svn: 320922
2017-12-16 17:18:15 +00:00
Matt Arsenault
920576042d
InstCombine: Canonicalize fast fmuladd to fmul + fadd
...
llvm-svn: 295353
2017-02-16 18:46:24 +00:00
Matt Arsenault
b264c94963
InstCombine: Add fma with constant transforms
...
DAGCombine already does these.
llvm-svn: 290860
2017-01-03 04:32:35 +00:00
Matt Arsenault
1cc294c85d
InstCombine: Add fma + fabs/fneg transforms
...
fma (fneg x), (fneg y), z -> fma x, y, z
fma (fabs x), (fabs x), z -> fma x, x, z
llvm-svn: 290859
2017-01-03 04:32:31 +00:00