[PATCH] D50231: [llvm-exegesis] Renaming classes and functions.

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 19:55:32 PDT 2019


yubing added inline comments.


================
Comment at: llvm/trunk/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp:221
 
-TEST_F(UopsSnippetGeneratorTest, MemoryUse) {
+TEST_F(UopsBenchmarkRunnerTest, MemoryUse) {
   // Mov32rm reads from memory.
----------------
gchatelet wrote:
> yubing wrote:
> > Hi, gchatelet:
> >   I just wonder how to run this testcase. Could you please give us some help?
> > 
> > Thanks
> > 
> Sure, the target you want to use is `unittests/tools/llvm-exegesis/X86/all`
> Here is the full cmd line I'm using
> ```
> > cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TESTS=ON -DBUILD_SHARED_LIBS=ON -DLLVM_USE_SPLIT_DWARF=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_WERROR=ON -H/redacted/git/llvm-project/llvm -B/tmp/llvm-project_dbg_compiled-with-clang -GNinja
> > ninja -C /tmp/llvm-project_dbg_compiled-with-clang unittests/tools/llvm-exegesis/X86/all
> > /tmp/llvm-project_dbg_compiled-with-clang/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests
> ```
Hi, gachatelet.
Thanks for your answers.
I got some trouble when run this test TEST_F(UopsBenchmarkRunnerTest, MemoryUse) :


```
Expected: has substring "no tied variables"
  Actual: "instruction is parallel, repeating a random one."
```

Could you please explain the meaning of the errorlog shown above?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D50231





More information about the llvm-commits mailing list