aprantl added inline comments.

================
Comment at: clang/test/DebugInfo/debugify-each-original.c:57
+// CHECK-NEXT: Hoist/decompose integer division and remainder: PASS
+// CHECK-NEXT: Simplify the CFG: PASS
----------------
aprantl wrote:
> We probably shouldn't check the effects of LLVM passes in the Clang test 
> suite. When someone breaks one of those LLVM passes and that shouldn't cause 
> an error in the Clang *frontend* test suite. It's sufficient to check that 
> the pass is passed on to LLVM here. The operation of it should be checked 
> either in LLVM or in an end-to-end test, e.g., inside debug-info-tests.
I probably should emphasize that an end-to-end test will probably just cause us 
trouble: Someone will make an unrelated change to a pass, that pushes a 
subsequent pass into a behavior that doesn't pass the debugify verifier, and 
now the author of the unrelated patch is on the hook to fix that other pass. I 
think that will make everyone unhappy. Maybe it should be treated more like the 
debug info statistics?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82547



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to