[llvm] [C API] Add function to create constantRange attributes to C API (PR #90505)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 17:47:26 PDT 2024


nikic wrote:

> @nikic was it something like this that you was thinking of? Do not know if it makes sense to have a test as there is no way to get the range again so not possible to test it in eg. echo.ll

In that case you'd usually add a unit test instead, e.g. in llvm/unittests/IR/AttributesTest.cpp.

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


More information about the llvm-commits mailing list