[PATCH] D70273: [z86][SLH] Move isDataInvariant* functions
Zola Bridges via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 14:16:42 PST 2019
zbrid created this revision.
zbrid added reviewers: craig.topper, rnk.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
I moved these functions to X86InstrInfo.cpp so I can use them in another
pass I'm working on. Thanks for the suggestion, Craig!
Tested via llvm-lit llvm/test/CodeGen/X86/speculative-load-hardening*
As noted in the FIXMEs that I moved along with the fuctions, these
should eventually be moved to the tablegen instruction tables. There
didn't seem a straightforward way to do that due to the difficulties
trying to handle the check for when EFLAGS is dead for target
independent opcodes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70273
Files:
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h
llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70273.229405.patch
Type: text/x-patch
Size: 33395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/069e29d4/attachment.bin>
More information about the llvm-commits
mailing list