[PATCH] D50233: [InstCombine] Transform str(n)cmp to memcmp

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 22:48:42 PDT 2018


xbolva00 added a comment.

So what is proposed solution?

1, bail out if sanitize memory attributr
2, check for opt for size (as in expandMemcmp)
3, move this instcombine transformation into expandmemcmp pass


Repository:
  rL LLVM

https://reviews.llvm.org/D50233





More information about the llvm-commits mailing list