[all-commits] [llvm/llvm-project] 16e931: [IR] allow undefined elements when checking for sp...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Dec 10 14:17:14 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16e9315685bc057849eab072de6ec349b508ec1d
      https://github.com/llvm/llvm-project/commit/16e9315685bc057849eab072de6ec349b508ec1d
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M llvm/include/llvm/IR/Constant.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/IR/Constants.cpp
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  [IR] allow undefined elements when checking for splat constants

This mimics the related call in SDAG. The caller is responsible
for ensuring that undef values are propagated safely.




More information about the All-commits mailing list