Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 15985 Build 15985: arc lint + arc unit
Event Timeline
utils/update_test_checks.py still works.
Verified with utils/update_test_checks.py --opt-binary=~/Dev/llvm/release/bin/opt test/CodeGen/Generic/expand-experimental-reductions.ll
asm and IR check lines really should be unified..
Could somebody here please clarify what's happening with test/CodeGen/X86/avx2-intrinsics-x86.ll? Before recent changes to the utils (D42654, D42805, this) it had a pattern ret{{l|q}} with which the same blocks of checks corresponded to 2 run lines each. Now the utils produce separate checks for those lines. Was this intended? If so, please update the tests after your changes, otherwise it may be an issue with the utils.
Some x86 test files were generated with the '--x86_extra_scrub' flag - as part of an ongoing attempt to merge 32/64 bit checks that only differ with the retl/retq - see PR35003
Regarding test/CodeGen/X86/avx2-intrinsics-x86.ll
Several RUN lines share the same --check-prefix=. I am not sure the CHECK lines were created by utils/update_llc_test_checks.py. It is very likely hand-crafted after applying the tool.
First step - get rid of --x86_extra_scrub entirely so we don't rely on updating the scripts with an optional arg.
@MaskRay Is there any chance you could help here? We need the ret{{[l|q]}} pattern to be used only if that is the only diff between 32/64 bit codegen and it allows us to use a common prefix