aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-05 17:57:29 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-05 17:57:29 +0000
commitf09fc3bc126f6be0f02eb3ff984dd80926d9520c (patch)
tree42850cf83ead2c00f65276469a6c8723eead4f6d /clang/unittests/Format/FormatTestJava.cpp
parentc7d3e609fbf05d1a1236f99efd1e2fd344554f4b (diff)
downloadllvm-f09fc3bc126f6be0f02eb3ff984dd80926d9520c.zip
llvm-f09fc3bc126f6be0f02eb3ff984dd80926d9520c.tar.gz
llvm-f09fc3bc126f6be0f02eb3ff984dd80926d9520c.tar.bz2
[X86] Move ReadAfterLd functionality into X86FoldableSchedWrite (PR36957)
Currently we hardcode instructions with ReadAfterLd if the register operands don't need to be available until the folded load has completed. This doesn't take into account the different load latencies of different memory operands (PR36957). This patch adds a ReadAfterFold def into X86FoldableSchedWrite to replace ReadAfterLd, allowing us to specify the load latency at a scheduler class level. I've added ReadAfterVec*Ld classes that match the XMM/Scl, XMM and YMM/ZMM WriteVecLoad classes that we currently use, we can tweak these values in future patches once this infrastructure is in place. Differential Revision: https://reviews.llvm.org/D52886 llvm-svn: 343868
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions