[PATCH] D84447: [IPConstProp] Replace and move tests to SCCP.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 10:15:51 PDT 2020


xbolva00 added inline comments.


================
Comment at: llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -ipconstprop -S < %s | FileCheck %s
+;
 ;
----------------
Missing run line?


================
Comment at: llvm/test/Transforms/IPConstantProp/return-argument.ll:56
 ; CHECK:       OK:
-; CHECK-NEXT:    [[Z:%.*]] = add i32 1, 3
-; CHECK-NEXT:    store i32 [[Z]], i32* [[Q]], align 4
+; CHECK-NEXT:    [[X2:%.*]] = extractvalue { i32, i32 } [[S2]], 0
+; CHECK-NEXT:    [[Z:%.*]] = add i32 [[X1]], [[X2]]
----------------
It would be useful to handle this too


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84447





More information about the llvm-commits mailing list