[llvm-bugs] [Bug 51834] New: test/Transforms/Util/PredicateInfo/ordering.ll not working
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 13 07:20:48 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51834
Bug ID: 51834
Summary: test/Transforms/Util/PredicateInfo/ordering.ll not
working
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: bjorn.a.pettersson at ericsson.com
CC: florian_hahn at apple.com, llvm-bugs at lists.llvm.org
I happened to notice that test/Transforms/Util/PredicateInfo/ordering.ll isn't
working as expected.
It uses
; REQUIRES: assert
which is a property that doesn't exist, and the test is classified as
UNSUPPORTED and never executed.
I thought that it would be easy to fix that by using
; REQUIRES: asserts
instead, but then it turned out that the test case wasn't ported to new-PM.
As a quick fix for that I tried adding
-enable-new-pm=0
but then the CHECK:s are failing instead (I only get two "Visited" printouts
out of the expected ten). Here my attempts to fix this problem ended, and I
decided to write a PR about it instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210913/1018da89/attachment-0001.html>
More information about the llvm-bugs
mailing list