[Mesa-dev] [PATCH] SI: further simplify SGPR liveness fix

Michel Dänzer michel at daenzer.net
Wed Nov 14 07:39:47 PST 2012


On Mit, 2012-11-14 at 15:54 +0100, Christian König wrote: 
> Based on already merged v4 of "fix SGPR liveness"

This change causes the following piglit tests to crash for me:

shaders/glsl-fs-atan-2
shaders/glsl-fs-sqrt-branch
spec/glsl-1.10/execution/built-in-functions/fs-atan-vec2-vec2
spec/glsl-1.10/execution/built-in-functions/fs-atan-vec3-vec3
spec/glsl-1.10/execution/built-in-functions/fs-atan-vec4-vec4
spec/glsl-1.10/execution/built-in-functions/fs-op-selection-bool-bvec2-bvec2
spec/glsl-1.10/execution/built-in-functions/fs-op-selection-bool-bvec3-bvec3
spec/glsl-1.10/execution/built-in-functions/fs-op-selection-bool-bvec4-bvec4
spec/glsl-1.10/execution/built-in-functions/vs-atan-vec2-vec2
spec/glsl-1.10/execution/built-in-functions/vs-atan-vec3-vec3
spec/glsl-1.10/execution/built-in-functions/vs-atan-vec4-vec4
spec/glsl-1.10/execution/built-in-functions/vs-op-selection-bool-bvec2-bvec2
spec/glsl-1.10/execution/built-in-functions/vs-op-selection-bool-bvec3-bvec3
spec/glsl-1.10/execution/built-in-functions/vs-op-selection-bool-bvec4-bvec4


There are two failure modes:

1. Returncode: -11 

	Errors:
	Stack dump:
	0.	Running pass 'Function Pass Manager' on module 'tgsi'.
	1.	Running pass 'Simple Register Coalescing' on function '@main'

2.	Returncode: -6

	Errors:
	shader_runner: /home/daenzer/src/llvm-git/llvm/lib/CodeGen/LiveInterval.cpp:581: void llvm::LiveInterval::mergeIntervalRanges(const llvm::LiveInterval &, llvm::VNInfo *, const llvm::VNInfo *): Assertion `R.start >= LastR.end && "Cannot overlap two LiveRanges with differing ValID's"' failed.
	Stack dump:
	0.	Running pass 'Function Pass Manager' on module 'tgsi'.
	1.	Running pass 'Simple Register Coalescing' on function '@main'


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list