This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking][InstSimplify] Move abs handling into computeConstantRange(); NFC
ClosedPublic

Authored by nikic on Mar 18 2019, 1:47 PM.

Details

Summary

This is preparation for D59506. The InstructionSimplify abs handling is moved into computeConstantRange(), which is the general place for such calculations. This is NFC and doesn't affect the existing tests in test/Transforms/InstSimplify/icmp-abs-nabs.ll.

Diff Detail

Repository
rL LLVM