This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] move getIntIfConstant into FIROpsSupport.h
ClosedPublic

Authored by jeanPerier on Dec 16 2022, 6:35 AM.

Details

Summary

The motivation is to have it accessible in HLFIROps.cpp to
use it in hlfir.set_length builder to build the result length
type as best as possible.

Diff Detail

Event Timeline

jeanPerier created this revision.Dec 16 2022, 6:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier requested review of this revision.Dec 16 2022, 6:35 AM
This revision is now accepted and ready to land.Dec 16 2022, 6:39 AM
PeteSteinfeld accepted this revision.Dec 16 2022, 7:32 AM

All builds and tests correctly and looks good.