[all-commits] [llvm/llvm-project] f104cc: [ConstantFold] Don't fold load from non-byte-sized...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 17 08:02:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f104cc38f45ebbca065e78959c23d09f16b65bd5
      https://github.com/llvm/llvm-project/commit/f104cc38f45ebbca065e78959c23d09f16b65bd5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstCombine/load-store-forward.ll

  Log Message:
  -----------
  [ConstantFold] Don't fold load from non-byte-sized vector

Following up on https://github.com/llvm/llvm-project/commit/1470f94d71c544327f76b85c55cb6f7cb43a6cbb#r63981173:

The result here (probably) depends on endianness. Don't bother
trying to handle this exotic case, just bail out.




More information about the All-commits mailing list