[all-commits] [llvm/llvm-project] 04b8c8: [IR] Fix UB on Op<2> in ShuffleVector predicates (...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Dec 15 08:20:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04b8c830d39b2c1d98bb4dee06de2cd26b4b89f9
      https://github.com/llvm/llvm-project/commit/04b8c830d39b2c1d98bb4dee06de2cd26b4b89f9
  Author: Reid Kleckner <rnk at google.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  [IR] Fix UB on Op<2> in ShuffleVector predicates (#75549)

This Op<2> usage was missed in 1ee6ec2bf3, which replaced the third
shuffle operand with a vector of integer mask constants.

I noticed this when attempting to make changes to the layout of
llvm::Value.




More information about the All-commits mailing list