[llvm] [RISCV] Insert a freeze before converting select to AND/OR. (PR #84232)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 07:19:50 PST 2024


bjope wrote:

> If t6 is false the result should be zero. But after folding to the and the result would become t9 instead.

Hm. Something wrong in my reasoning here. If t6 is false the and will return false. But maybe the rewrite into and is wrong anyway?

https://github.com/llvm/llvm-project/pull/84232


More information about the llvm-commits mailing list