[all-commits] [llvm/llvm-project] ac3f68: [InstCombine] Do not assume scalar types in `selec...
Antonio Frighetto via All-commits
all-commits at lists.llvm.org
Sun Jul 23 04:09:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac3f6899f45cfbaf53fa503e4100e92a731b2e7b
https://github.com/llvm/llvm-project/commit/ac3f6899f45cfbaf53fa503e4100e92a731b2e7b
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2023-07-23 (Sun, 23 Jul 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
Log Message:
-----------
[InstCombine] Do not assume scalar types in `select`/`zext`
Do not assume scalar types when folding binops of `select`
operations and `zext`/`sext` of their condition.
Reported-by: Benjins, dyung
Proofs: https://alive2.llvm.org/ce/z/GmDLns
More information about the All-commits
mailing list