https://bugs.llvm.org/show_bug.cgi?id=52443
Bug ID: 52443
Summary: Inconsistent multi-versioning behaviour
Product: clang
Version: 13.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: n.makhsud...@yahoo.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
Created attachment 25431
--> https://bugs.llvm.org/attachment.cgi?id=25431&action=edit
Source code, Makefile and README
Clang generates incorrect instructions omitting multiversioned function call.
STEPS TO REPRODUCE:
1. Download the attachment and run 'make' in bug_report directory
2. Execute test and observe that nothing is printed
3. Comment out line 4 in PrintTester.C
4. Build again with 'make' and run test
SAMPLE RESULTS:
(running on a machine with avx512f support)
~/bug_report> make
...
~/bug_report> ./test
(after step3)
~/bug_report> make
...
~/bug_report> ./test
TARGET AVX512F!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs