diff options
| author | Peiyong Lin <linpyong@gmail.com> | 2025-05-22 13:40:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 15:40:26 -0500 |
| commit | 45d8759cbed0f216786729718608a8be72a505c6 (patch) | |
| tree | b59de91d90972c8d6401ca6ed79410e639a2f6a9 /llvm/unittests/ADT/APIntTest.cpp | |
| parent | 656d9ba9346ad32aeffd5215c2bed43dfa710e16 (diff) | |
| download | llvm-45d8759cbed0f216786729718608a8be72a505c6.zip llvm-45d8759cbed0f216786729718608a8be72a505c6.tar.gz llvm-45d8759cbed0f216786729718608a8be72a505c6.tar.bz2 | |
Emit nuw and nsw for mul and add when lowering to llvm.getelementptr (#140966)
Now that the GEP no wrap flags are known when lowering to
llvm.getelementptr, we can also emit nuw and nsw for the generated
llvm.mul and llvm.add when no unsigned wrap and no signed wrap are used
respectively.
fixes: iree-org/iree#20483
Signed-off-by: Lin, Peiyong <linpyong@gmail.com>
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
