[PATCH] D49365: [InstrSimplify] add testcases for fold sdiv if two operands are negatived and non-overflow

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 09:02:18 PDT 2018


spatel added inline comments.


================
Comment at: llvm/trunk/test/Transforms/InstCombine/sdiv.ll:1
+; RUN: opt < %s -instcombine -S | FileCheck %s
+
----------------
Oops - I did not notice that we were doing an 'instsimplify' here. This file should be moved to test/Transforms/InstSimplify and the RUN line should be changed to only use -instsimplify.


Repository:
  rL LLVM

https://reviews.llvm.org/D49365





More information about the llvm-commits mailing list