[PATCH] D47576: [InstCombine] Fix div handling

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 06:50:56 PDT 2018


spatel added inline comments.


================
Comment at: test/Transforms/InstCombine/sdiv-guard.ll:1
+; RUN: opt < %s -instcombine -inline -S | FileCheck %s
+
----------------
This test already passes without the patch. Please create a test that shows the diff and use utils/update_test_checks.py to generate checks for it.

Also, we shouldn't need -inline to show a failure in instcombine.


https://reviews.llvm.org/D47576





More information about the llvm-commits mailing list