[PATCH] D37177: [X86] Don't disable slow INC/DEC if optimizing for size

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 06:36:48 PDT 2017


RKSimon added a comment.

Submit your changes to the slow-incdec.ll tests so this patch shows the diff?



================
Comment at: test/CodeGen/X86/slow-incdec.ll:3
 ; RUN: llc -mtriple=i386-unknown-linux-gnu -mattr=-slow-incdec < %s | FileCheck -check-prefix=INCDEC %s
 ; RUN: llc -mtriple=i386-unknown-linux-gnu -mattr=+slow-incdec < %s | FileCheck -check-prefix=ADD %s
 
----------------
Add a common -check-prefix=CHECK check


https://reviews.llvm.org/D37177





More information about the llvm-commits mailing list