[PATCH] D76707: [DAGCombine] Add basic optimizations for FREEZE in SelDag

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 11:49:13 PDT 2020


aqjune marked an inline comment as done.
aqjune added a comment.

Thank you, I added a test.



================
Comment at: llvm/test/CodeGen/X86/freeze-combine.ll:18
+  ; CHECK:   [[COPY:%[0-9]+]]:gr32 = COPY $edi
+  ; CHECK:   [[COPY1:%[0-9]+]]:gr32 = COPY [[COPY]]
+  ; CHECK:   $eax = COPY [[COPY1]]
----------------
This COPY seems to appear regardless of how many freezes are nested.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76707





More information about the llvm-commits mailing list