[PATCH] D88937: [KnownBits] Add a sextOrTrunc method

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 15:02:19 PDT 2020


qcolombet added a comment.

Hi @lebedev.ri ,

> Could use a test, but it generally makes sense to have such a method.

I didn't see a test for `zextOrTrunc` that I could mimic so I come up with something.

Let me know what do you think.

Cheers,
-Quentin


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88937/new/

https://reviews.llvm.org/D88937



More information about the llvm-commits mailing list