Displaying 1 result from an estimated 1 matches for "mtcsr".
Did you mean:
mfcsr
2015 Jun 12
2
[LLVMdev] Prevent instruction selection from clobbering an implicit data dependence through flags?
...on implicit data dependences among such intrinsics. How can I specify that these intrinsics carry this dependence, and that this dependence should be preserved through instruction selection?
For example, suppose I have this snippet of IR:
; (i) Write to flags
tail call void @llvm.desradgcv2.mtcsr.n..s.i(i32 %written, i32 14)
; (ii) Some instructions in between
%c = add i32 %a, %b
%d = sub i32 0, %c
; (iii) Read from flags, i.e, %read := %written
%read = tail call i32 @llvm.desradgcv2.mfcsr.s..i(i32 14)
During instruction selection, a pattern selects the 'mtcsr' and &...