This fixes a crasher introduced by r372338.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 38374 Build 38373: arc lint + arc unit
Event Timeline
The test file doesn't look like it needs GlobalIsel - rename it llvm/test/CodeGen/X86/isel-blendi-gettargetconstant.ll
llvm/test/CodeGen/X86/GlobalISel/isel-blendi-gettargetconstant.ll | ||
---|---|---|
1 | RUN: llc < %s -mtriple=x86_64-linux-gnu -mattr=sse4.2 | FileCheck %s And then run the file through the utils/update_llc_test_checks.py script | |
3 | Remove #0 | |
12 | Remove this |
llvm/test/CodeGen/X86/GlobalISel/isel-blendi-gettargetconstant.ll | ||
---|---|---|
1 | This is not a GlobalISel test, and should not go in the GlobalISel directory |
llvm/test/CodeGen/X86/GlobalISel/isel-blendi-gettargetconstant.ll | ||
---|---|---|
1 | Where should it go? I'm inclined just to drop the test case altogether. Most of the other code paths that needed the switch from getConstant to getTargetConstant don't have test cases either. |
llvm/test/CodeGen/X86/GlobalISel/isel-blendi-gettargetconstant.ll | ||
---|---|---|
1 | This shouldn't be in the GlobalISel directory. It doesn't enable GlobalIsel. | |
1 | It can just go in test/CodeGen/X86. That's where all the SelectionDAG based tests are. Only tests that enable the non-default global instruction selection should be in the GlobalISel subdirectory. |
Looks much better, but then again I approved the last one ;)
Let's let Craig or Simon give an ack too.
We've been blocked on this for a day now, so going ahead and checking it in. Will wait and watch for problems.
RUN: llc < %s -mtriple=x86_64-linux-gnu -mattr=sse4.2 | FileCheck %s
And then run the file through the utils/update_llc_test_checks.py script