[PATCH] D81151: [InstCombine] Simplify compare of Phi with constant inputs against a constant

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 04:55:34 PDT 2020


RKSimon added a comment.

This looks like its responsible for the exceptions.m test failures on some bots: http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2189

  /home/buildbot-worker/llvm-avr-linux/llvm-avr-linux/llvm/clang/test/CodeGenObjC/exceptions.m:100:12: error: CHECK: expected string not found in input
   // CHECK: [[DEST1:%.*]] = phi i32 [ 0, {{%.*}} ], [ 3, {{%.*}} ]
             ^
  <stdin>:195:37: note: scanning from here
   call void @objc_exception_try_exit(%struct._objc_exception_data* nonnull %exceptiondata.ptr) #5
                                      ^
  <stdin>:219:2: note: possible intended match here
   %1 = load i32, i32* %x, align 4, !tbaa !7
   ^


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81151





More information about the llvm-commits mailing list