[all-commits] [llvm/llvm-project] 8f9da2: [GVN] Regenerate test checks (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 6 11:42:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f9da24fa7fffd52ccc2c66e3e2c1e7e87ed0336
      https://github.com/llvm/llvm-project/commit/8f9da24fa7fffd52ccc2c66e3e2c1e7e87ed0336
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/GVN/PRE/volatile.ll

  Log Message:
  -----------
  [GVN] Regenerate test checks (NFC)


  Commit: a6df39236fdc6e422f6794935e5e08e05f566e23
      https://github.com/llvm/llvm-project/commit/a6df39236fdc6e422f6794935e5e08e05f566e23
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll
    M llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll
    M llvm/test/Transforms/InstCombine/phi-shifts.ll
    M llvm/test/Transforms/InstCombine/shift.ll
    M llvm/test/Transforms/InstSimplify/shift-knownbits.ll
    M llvm/test/Transforms/InstSimplify/shift.ll
    M llvm/test/Transforms/InstSimplify/undef.ll

  Log Message:
  -----------
  [InstSimplify] Fold out-of-bounds shift to poison

Make InstSimplify return poison rather than undef for out-of-bounds
shifts, as specified by LandRef:

> If op2 is (statically or dynamically) equal to or larger than the
> number of bits in op1, this instruction returns a poison value.

Differential Revision: https://reviews.llvm.org/D93998


Compare: https://github.com/llvm/llvm-project/compare/4c022b5a41de...a6df39236fdc


More information about the All-commits mailing list