[llvm] [IR] Add nowrap flags for trunc instruction (PR #85592)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 09:29:50 PDT 2024


dtcxzyw wrote:

> > > We forgot to support these flags in `Instruction::copyIRFlags` :( I will post a patch later.
> > 
> > 
> > And `Instruction::andIRFlags` too :(
> 
> @dtcxzyw are you working on this, too?

https://github.com/llvm/llvm-project/blob/84bc21f9101730af611a0175d89ae2056d5f41a7/llvm/lib/IR/Instruction.cpp#L678-L683

Isn't it handled by this patch?


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


More information about the llvm-commits mailing list