[all-commits] [llvm/llvm-project] 253f24: [InstCombine] Remove custom and(trunc(and(x, c1)), c...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 16 07:43:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 253f24cf4c455f732423ef8ddf230b111ea41bee
      https://github.com/llvm/llvm-project/commit/253f24cf4c455f732423ef8ddf230b111ea41bee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] Remove custom and(trunc(and(x,c1)),c2) fold

This is more correctly handled by canEvaluateTruncated (one use checks etc.) and covers all the tests cases that were added for this fold.


  Commit: fe8281e2d009d9ab0b89cad2cb56defceb7fa9b1
      https://github.com/llvm/llvm-project/commit/fe8281e2d009d9ab0b89cad2cb56defceb7fa9b1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/add.ll
    M llvm/test/Transforms/InstCombine/and.ll

  Log Message:
  -----------
  [InstCombine] visitAnd - add some ((val OP C1) & C2) vector test coverage


  Commit: 83ae625f0c6a6e86ffa80bd52c2dedccda80ff77
      https://github.com/llvm/llvm-project/commit/83ae625f0c6a6e86ffa80bd52c2dedccda80ff77
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] visitAnd - pull out repeated I.getType() calls. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/ddb4693a92e7...83ae625f0c6a


More information about the All-commits mailing list