[PATCH] D68982: [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in DAGCombine
Joan LLuch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 07:11:12 PDT 2019
joanlluch added a comment.
I know this is possibly not the right place to ask this particular question, but I thought that I would get a more focused reply by asking here:
I am stuck now on how to create test files. I created a file shift-amount-threshold.ll with the IR code to test, that compiles fine with llc. Tried to run update_llc_test_checks.py on that file, like this:
/Users/joan/LLVM-9/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /Users/joan/LLVM-9/llvm-project/build/Debug/bin/llc /Users/joan/Documents-Local/Relay/RelayNouTest/shift-amount-threshold.ll
but I get the following error:
Traceback (most recent call last):
File "/Users/joan/LLVM-9/llvm-project/llvm/utils/update_llc_test_checks.py", line 187, in <module>
main()
File "/Users/joan/LLVM-9/llvm-project/llvm/utils/update_llc_test_checks.py", line 128, in main
triple, prefixes, func_dict)
File "/Users/joan/LLVM-9/llvm-project/llvm/utils/UpdateTestChecks/asm.py", line 335, in build_function_body_dictionary_for_triple
raise KeyError('Triple %r is not supported' % (triple))
KeyError: "Triple 'msp430' is not supported"
Looked at llvm/utils/UpdateTestChecks/asm.py line 335, and found that "msp430" is not listed there (?).
It's the first time for me at this. What am doing wrong?.
Thanks in advance for any help.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68982/new/
https://reviews.llvm.org/D68982
More information about the llvm-commits
mailing list