[PATCH] D50972: [InstCombine] Fold icmp ugt/ult (add nuw X, C2), C --> icmp ugt/ult X, (C - C2)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 08:43:51 PDT 2018


spatel added inline comments.


================
Comment at: test/Transforms/InstCombine/icmp-add.ll:1
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -instcombine -S | FileCheck %s
----------------
Please commit the tests first. Use this script to auto-generate the current results. Then, update with this patch and auto-generate the new results.


Repository:
  rL LLVM

https://reviews.llvm.org/D50972





More information about the llvm-commits mailing list