[PATCH] D19659: [X86] Enable RRL part of the LEA optimization pass for -O2

Andrey Turetskiy via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 05:14:23 PDT 2016


aturetsk added inline comments.

================
Comment at: test/CodeGen/X86/lea-opt.ll:1-3
@@ -1,3 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=CHECK -check-prefix=ENABLED
+; RUN: llc --disable-x86-lea-opt < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=CHECK -check-prefix=DISABLED
 
 %struct.anon1 = type { i32, i32, i32 }
----------------
Done.


http://reviews.llvm.org/D19659





More information about the llvm-commits mailing list