[all-commits] [llvm/llvm-project] fe6ae8: [InstCombine] Fix vscale zext/sext optimization wh...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Aug 4 09:18:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe6ae81ef3644bf216c9ca8d2c90150cd9f83a57
      https://github.com/llvm/llvm-project/commit/fe6ae81ef3644bf216c9ca8d2c90150cd9f83a57
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll

  Log Message:
  -----------
  [InstCombine] Fix vscale zext/sext optimization when vscale_range is unbounded.

According to the LangRef, a (vscale_range) value of 0 means unbounded.

This patch additionally cleans up the test file vscale_sext_and_zext.ll.




More information about the All-commits mailing list