[PATCH] D60413: [AggressiveInstCombine] SExt -> ZExt when no sign bits is used with multiple uses

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 05:02:13 PDT 2020


spatel added inline comments.


================
Comment at: llvm/test/Transforms/AggressiveInstCombine/sext_multi_uses.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -o - -bdce -S %s | FileCheck %s
+define i32 @ZEXT_0(i16 %a) {
----------------
Run line should be more like this:
opt -S -bdce < %s

The test file should be moved to this folder:
https://github.com/llvm/llvm-project/tree/master/llvm/test/Transforms/BDCE

(please also update the title of this review / commit message)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60413/new/

https://reviews.llvm.org/D60413





More information about the llvm-commits mailing list