[PATCH] D29014: [SelDag][MIR] Add FREEZE
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 02:13:54 PST 2020
lebedev.ri added a reviewer: arsenm.
lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: wdng.
This seems good to me, but you want to wait for someone else more knowledgeable..
ping @arsenm @qcolombet @craig.topper
================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:65-68
+ case Instruction::Freeze:
+ // Freeze operation is free because it should be lowered into a register
+ // use without any register copy in assembly code.
+ return TTI::TCC_Free;
----------------
This is unrelated, please feel free to commit this right away.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D29014/new/
https://reviews.llvm.org/D29014
More information about the llvm-commits
mailing list