[PATCH] D35084: [ConstHoisting] choose to hoist when frequency is the same

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 13:58:11 PDT 2017


davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: test/CodeGen/X86/constant-hoisting-bfi.ll:128
+  %add1 = add i64 %t0, 214748364701
+  br label %return
+
----------------
add CHECK-NOT


================
Comment at: test/CodeGen/X86/constant-hoisting-bfi.ll:131
+if.else:
+  %add2 = add i64 %t0, 214748364701
+  br label %return
----------------
add a CHECK-NOT


Repository:
  rL LLVM

https://reviews.llvm.org/D35084





More information about the llvm-commits mailing list