[all-commits] [llvm/llvm-project] ff7662: [InstCombine] Fix type mismatch between cond and v...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Dec 25 08:04:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff76627aeb8d431d5451201d656bb38318908f0a
      https://github.com/llvm/llvm-project/commit/ff76627aeb8d431d5451201d656bb38318908f0a
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-12-26 (Tue, 26 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Fix type mismatch between cond and value in `foldSelectToCopysign` (#76343)

This patch fixes the miscompilation when we try to bitcast a floating point vector into an integer scalar.




More information about the All-commits mailing list