[PATCH] D32684: [X86] Adding new LLVM TableGen backend that generates the X86 backend memory folding tables.

Ayman Musa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 05:31:16 PDT 2017


aymanmus added inline comments.


================
Comment at: test/CodeGen/X86/stack-folding-fp-avx1.ll:1654
 
-define double @stack_fold_sqrtsd(double %a0) {
-  ;CHECK-LABEL: stack_fold_sqrtsd
----------------
RKSimon wrote:
> aymanmus wrote:
> > RKSimon wrote:
> > > Please don't delete tests, especially if they've regressed - show the new codegen and add a todo comment
> > The test checks that specific instructions are memory folded.
> > In the removed test cases, the instructions were removed from the memory folding tables so testing that these instructions are NOT folded in this test, is not the best idea.
> OK - so just leave TODO comments for the 4 cases:
> ```
> ; TODO stack_fold_sqrtsd
> ; TODO stack_fold_sqrtsd_int
> ; TODO stack_fold_sqrtss
> ; TODO stack_fold_sqrtss_int
> ```
> 
> 
> 
Sorry if i'm being too picky about this, but I cannot understand why to add TODOs for these test cases. what should be done with them later on? what would it indicate?


https://reviews.llvm.org/D32684





More information about the llvm-commits mailing list