[all-commits] [llvm/llvm-project] a3113d: [SCEV] PtrToInt on non-integral pointers is allowed

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Jun 16 00:25:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3113df21994fafd87d623e13364321659f4585c
      https://github.com/llvm/llvm-project/commit/a3113df21994fafd87d623e13364321659f4585c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

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

  Log Message:
  -----------
  [SCEV] PtrToInt on non-integral pointers is allowed

As per (committed without review) @reames's rGac81cb7e6dde9b0890ee1780eae94ab96743569b change,
we are now allowed to produce `ptrtoint` for non-integral pointers.
This will unblock further unbreaking of SCEV regarding int-vs-pointer type confusion.

Reviewed By: mkazantsev

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


  Commit: 308f6a5245a249e08efbdaa73b6cc6e693e0185f
      https://github.com/llvm/llvm-project/commit/308f6a5245a249e08efbdaa73b6cc6e693e0185f
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [NFC][X86] lowerVECTOR_SHUFFLE(): drop FIXME about widening to i128 (YMM half) element type

As per the discussion in D103818, so far, this does not appear to be worthwhile.

Reviewed By: RKSimon

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


Compare: https://github.com/llvm/llvm-project/compare/96cded5b796f...308f6a5245a2


More information about the All-commits mailing list