[llvm] [GISel] Convert zext nneg to sext if it is cheaper (PR #93842)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 10:27:48 PDT 2024


dtcxzyw wrote:

> I really do not like these optimizations getting snuck into the DAG builder / IRTranslator. They should do their best to preserve the original IR

Alright, I will post an alternative patch as @tschuett suggested.


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


More information about the llvm-commits mailing list