Summary: | Bioshock Infinite: LLVM triggered Diagnostic Handler: Illegal instruction detected: Operand has incorrect register class. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Christoph Haag <haagch> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Reduced test case, fails with llc -march=amdgcn -verify-machineinstrs
Treat insert and extract equally in selectMOVRELOffsetImpl |
Description
Christoph Haag
2016-07-10 09:08:12 UTC
Created attachment 124987 [details]
Reduced test case, fails with llc -march=amdgcn -verify-machineinstrs
I can reproduce this, and I obtained the attached reduced testcase which has an error since r274954 "AMDGPU: Improve offset folding for register indexing". I'm not sure how that change is related to the particular error that I get...
Created attachment 124989 [details] [review] Treat insert and extract equally in selectMOVRELOffsetImpl The attached patch fixes the bug for me. FWIW, Nicolai's patch seems to fix lots of piglit regressions on my Kaveri. Another update: there are two separate problems in LLVM which "cooperate" to lead to this bug. http://reviews.llvm.org/D22210 and http://reviews.llvm.org/D22217 fix both problems (and either is sufficient for this bug here). Both of these are in in llvm svn now. Enabling and disabling anti aliasing works without this error. Thanks for the fix. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.