[PATCH] D49966: [X86] Performing DAG pruning before selection of LEA instructions.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 09:10:18 PDT 2018


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/lea-opt.ll:312
+; Function Attrs: norecurse nounwind optsize readnone uwtable
+define dso_local i32 @foo1(i32 %x, i32 %y) local_unnamed_addr #0 {
+; CHECK-LABEL: foo1:
----------------
Are these attributes necessary: dso_local, local_unnamed_addr + #0? I think you might just need nounwind ?


Repository:
  rL LLVM

https://reviews.llvm.org/D49966





More information about the llvm-commits mailing list