]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix remove_stmt in vectorizable_simd_clone_call (PR 86758)
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 1 Aug 2018 15:29:36 +0000 (15:29 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 1 Aug 2018 15:29:36 +0000 (15:29 +0000)
commit41b6b80e1a70f3731a45d991a83c5bc4a7f73ea4
treec64db0368b9d600fe112be5217ccbe192c4ee341
parentbeeb6ce8631cd0e23160dbbafd5f43d16a749e02
Fix remove_stmt in vectorizable_simd_clone_call (PR 86758)

vectorizable_simd_clone_call was trying to remove a pattern statement
instead of the original statement,  Fixes existing tests
gcc.dg/pr84452.c and gcc.target/i386/pr84309.c on x86.

2018-08-01  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
PR tree-optimization/86748
* tree-vect-stmts.c (vectorizable_simd_clone_call): Don't try
to remove pattern statements.

From-SVN: r263222
gcc/ChangeLog
gcc/tree-vect-stmts.c