[all-commits] [llvm/llvm-project] 6076c1: [InstSimplify] make 'or' test names more descripti...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Nov 30 11:15:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6076c1dc1ca1077923a7b82f6b155d746efa9be9
      https://github.com/llvm/llvm-project/commit/6076c1dc1ca1077923a7b82f6b155d746efa9be9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/AndOrXor.ll

  Log Message:
  -----------
  [InstSimplify] make 'or' test names more descriptive; NFC

Also, vary the types in a couple of tests for better coverage.


  Commit: c49ef1448d1779385e0e0ea88b1d8343f4830a79
      https://github.com/llvm/llvm-project/commit/c49ef1448d1779385e0e0ea88b1d8343f4830a79
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] reduce code duplication for 'or' logic folds; NFC


  Commit: 4b30076f16fc55891da8952bda3f2d81dbeec5a5
      https://github.com/llvm/llvm-project/commit/4b30076f16fc55891da8952bda3f2d81dbeec5a5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/or.ll

  Log Message:
  -----------
  [InstSimplify] add logic fold for 'or'

https://alive2.llvm.org/ce/z/4PaPDy

There's a related fold where the inner 'or' is replaced by 'and',
but that needs to be more careful about matching a 'not'.


Compare: https://github.com/llvm/llvm-project/compare/8c3641d03ec0...4b30076f16fc


More information about the All-commits mailing list