Warn emulated float16 equivalent is generated#7307
Warn emulated float16 equivalent is generated#7307steven-johnson merged 10 commits intohalide:mainfrom
Conversation
steven-johnson
left a comment
There was a problem hiding this comment.
LGTM but the mechanism for making it "one-time" (via LINE) seems kinda wonky.
|
(I think this is good to land but waiting on a hopefully-all-green result now that some LLVM fixes have landed from upstream) |
Would not compile for Win32 or any other compiler without __builtin_popcountll available. (How did this get checked in without being tested on MSVC?)
|
(I merged #7313 in here so that we could get a not-complete-broken Windows build :-/) |
|
This is weird: the new 'warning' is being emitted and yet the test is failing? https://buildbot.halide-lang.org/master/#/builders/11/builds/7/steps/13/logs/warning_emulated_float16 |
Ah, the failure is because we are writing to /dev/null... which is Not A Thing on Windows. I'll push a fix. |
* Warn emulated float16 equivalent is generated
Improvement for the issue #7306