[PATCH] D12345: [Reassociate]: Add intermediate subtract instructions created while negating to be redone later for more reassociate opportunities

Aditya Nandakumar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 13:17:49 PDT 2015


aditya_nandakumar added a comment.

I see. I'll try to see what it takes for the above case to converge in one iteration.
The reason I asked is because I see  reduction in instruction count (assembly) in several tests when I change the pass pipeline to have 2 reassociates(consecutive) vs just one. I will try and narrow down the patterns/cases which the second reassociate is exposing and/or cases which instcombine is missing.


Repository:
  rL LLVM

http://reviews.llvm.org/D12345





More information about the llvm-commits mailing list