[PATCH] D31196: [InstCombine] fold insertelement of scalar constant into vector of constants
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 15:14:37 PDT 2017
spatel updated this revision to Diff 92557.
spatel added a comment.
Patch updated as suggested by Eli:
Canonicalize an insert of a constant before an insert of a variable. There was already a test for this (but did nothing before), so I added a comment to explain.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8560 bytes
Desc: not available
More information about the llvm-commits